r6001: Oops. Checing the wrong tagtype - should have been SMB_ACL_GROUP, not SMB_ACL_...
authorJeremy Allison <jra@samba.org>
Wed, 23 Mar 2005 19:35:56 +0000 (19:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:56:15 +0000 (10:56 -0500)
Fix bug #2521.
Jeremy.
(This used to be commit 21e3cf2f8f6129324ebb799f959f8d2afe0285d2)

source3/smbd/posix_acls.c

index c5f96db85c1201d85355d9ccc60fffa78a73a666..c5fa035c69c52991be1867f61cd03d1eb01d0328 100644 (file)
@@ -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) {