summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-03-23 19:41:56 +0000
committerGerald Carter <jerry@samba.org>2005-03-23 19:41:56 +0000
commit794f35080f5881f01cba7e9232e5620bf431f8a9 (patch)
tree35c025038ebd88c77a1f7c4e751fb072281f8aef
parent05cb825d883203dc71cee2da89e3cbd24f0f7d95 (diff)
downloadsamba-794f35080f5881f01cba7e9232e5620bf431f8a9.tar.gz
r6003: merge BUG 2521 fix; should be ready for 3.0.13 nowsamba-3.0.13
-rw-r--r--WHATSNEW.txt1
-rw-r--r--source/smbd/posix_acls.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 97595daa173..7cb8628add7 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -38,6 +38,7 @@ o Jeremy Allison <jra@samba.org>
FindFirst/FindNext info level of 0x104.
* BUG 2501: Stop Win98 from looping doing FindNext on a
singleton directory.
+ * BUG 2521: Fix error in access checks when user group ACLs.
o Gerald (Jerry) Carter <jerry@samba.org>
diff --git a/source/smbd/posix_acls.c b/source/smbd/posix_acls.c
index c5f96db85c1..c5fa035c69c 100644
--- a/source/smbd/posix_acls.c
+++ b/source/smbd/posix_acls.c
@@ -3840,7 +3840,7 @@ static int check_posix_acl_group_write(connection_struct *conn, const char *dnam
}
}
break;
- case SMB_ACL_MASK:
+ case SMB_ACL_GROUP:
{
gid_t *pgid = (gid_t *)SMB_VFS_SYS_ACL_GET_QUALIFIER(conn, entry);
if (pgid == NULL) {