From e8c2f81ef3e44fdd31047582f933276a48192e89 Mon Sep 17 00:00:00 2001 From: Alexander Werth Date: Fri, 20 Jan 2012 19:17:21 +0100 Subject: s3:vfs/gpfs: Have inherited deny ACE's show up in ACLs Don't use the mode for the get_acl call that surpresses inherited deny ACE's. This is now possible since the inherited ACE flag exists now in GPFS and Samba. --- source3/modules/vfs_gpfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/modules') diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 80f6d6e653..4b0f9ebaf7 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -232,7 +232,7 @@ static struct gpfs_acl *gpfs_getacl_alloc(const char *fname, gpfs_aclType_t type acl->acl_version = 0; acl->acl_type = type; - ret = smbd_gpfs_getacl((char *)fname, GPFS_GETACL_STRUCT | GPFS_ACL_SAMBA, acl); + ret = smbd_gpfs_getacl((char *)fname, GPFS_GETACL_STRUCT, acl); if ((ret != 0) && (errno == ENOSPC)) { struct gpfs_acl *new_acl = (struct gpfs_acl *)TALLOC_SIZE( mem_ctx, acl->acl_len + sizeof(struct gpfs_acl)); @@ -247,7 +247,7 @@ static struct gpfs_acl *gpfs_getacl_alloc(const char *fname, gpfs_aclType_t type new_acl->acl_type = acl->acl_type; acl = new_acl; - ret = smbd_gpfs_getacl((char *)fname, GPFS_GETACL_STRUCT | GPFS_ACL_SAMBA, acl); + ret = smbd_gpfs_getacl((char *)fname, GPFS_GETACL_STRUCT, acl); } if (ret != 0) { -- cgit