diff options
author | Jeremy Allison <jra@samba.org> | 2000-12-18 07:22:10 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-12-18 07:22:10 +0000 |
commit | 667b4113a8aa6c04b72da139e26448602eeee83c (patch) | |
tree | 132239d22199bdad3c468f6fbd97978e78af21c9 /source3/smbd | |
parent | cc4870aa0ecdf0784a989383e385c3bd532847f2 (diff) | |
download | samba-667b4113a8aa6c04b72da139e26448602eeee83c.tar.gz samba-667b4113a8aa6c04b72da139e26448602eeee83c.tar.bz2 samba-667b4113a8aa6c04b72da139e26448602eeee83c.zip |
Fix typos in new group sid check.
Jeremy.
(This used to be commit c48e95297e63c8b6f0c6686e5bcfa52229710dbc)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/posix_acls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 4c274ae161..bc27ea9ae2 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -170,7 +170,7 @@ static BOOL unpack_nt_permissions(SMB_STRUCT_STAT *psbuf, uid_t *puser, gid_t *p */ if (security_info_sent & OWNER_SECURITY_INFORMATION) { - sid_copy(&owner_sid, psd->owner_sid) + sid_copy(&owner_sid, psd->owner_sid); if (!sid_to_uid( &owner_sid, puser, &sid_type)) DEBUG(3,("unpack_nt_permissions: unable to validate owner sid.\n")); } @@ -181,7 +181,7 @@ static BOOL unpack_nt_permissions(SMB_STRUCT_STAT *psbuf, uid_t *puser, gid_t *p */ if (security_info_sent & GROUP_SECURITY_INFORMATION) { - sid_copy(&grp, psd->grp_sid) + sid_copy(&grp_sid, psd->grp_sid); if (!sid_to_gid( &grp_sid, pgrp, &sid_type)) DEBUG(3,("unpack_nt_permissions: unable to validate group sid.\n")); } |