summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-02-03 15:58:12 -0800
committerJeremy Allison <jra@samba.org>2012-02-03 15:58:12 -0800
commit6a31e0f4f21affeea332d92d5249a2a877cc3b42 (patch)
tree2264e9e334d7a3dc0ba5433cc3bb0b461fb176e4 /source3
parent41152d7157c8284e65f472249426fc7bc531cc4b (diff)
downloadsamba-6a31e0f4f21affeea332d92d5249a2a877cc3b42.tar.gz
samba-6a31e0f4f21affeea332d92d5249a2a877cc3b42.tar.bz2
samba-6a31e0f4f21affeea332d92d5249a2a877cc3b42.zip
Fix mistaken assignment of gid to uid field.
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/posix_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index 7d8bd84b45..ecacecc759 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -1453,7 +1453,7 @@ static bool ensure_canon_entry_valid(connection_struct *conn, canon_ace **pp_ace
ZERO_STRUCTP(pace);
pace->type = SMB_ACL_GROUP_OBJ;
pace->owner_type = GID_ACE;
- pace->unix_ug.uid = pst->st_ex_gid;
+ pace->unix_ug.gid = pst->st_ex_gid;
pace->trustee = *pfile_grp_sid;
pace->attr = ALLOW_ACE;
if (setting_acl) {