From: Jeremy Allison Date: Wed, 23 Mar 2005 19:35:56 +0000 (+0000) Subject: r6001: Oops. Checing the wrong tagtype - should have been SMB_ACL_GROUP, not SMB_ACL_... X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5055 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21e3cf2f8f6129324ebb799f959f8d2afe0285d2;p=thirdparty%2Fsamba.git r6001: Oops. Checing the wrong tagtype - should have been SMB_ACL_GROUP, not SMB_ACL_MASK. Fix bug #2521. Jeremy. --- 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) {