From 6a31e0f4f21affeea332d92d5249a2a877cc3b42 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 3 Feb 2012 15:58:12 -0800 Subject: [PATCH] Fix mistaken assignment of gid to uid field. --- source3/smbd/posix_acls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 7d8bd84b459..ecacecc7599 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) { -- 2.11.4.GIT