summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_acl_xattr.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-11-06 01:01:01 -0800
committerJeremy Allison <jra@samba.org>2008-11-06 01:01:01 -0800
commit4af3c2830ab61e2c93faf41a7472d6132687c7c3 (patch)
tree0c97bb53c3e1c35d8826ea3fc5ebc9a115e45e3f /source3/modules/vfs_acl_xattr.c
parentf640135d125e84ad59e0b3920992d7b0fcbe0498 (diff)
downloadsamba-4af3c2830ab61e2c93faf41a7472d6132687c7c3.tar.gz
samba-4af3c2830ab61e2c93faf41a7472d6132687c7c3.tar.bz2
samba-4af3c2830ab61e2c93faf41a7472d6132687c7c3.zip
Only one more issue with NULL ACL test left to solve.
Jeremy.
Diffstat (limited to 'source3/modules/vfs_acl_xattr.c')
-rw-r--r--source3/modules/vfs_acl_xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_acl_xattr.c b/source3/modules/vfs_acl_xattr.c
index 1619de4fd2..9d9ea01375 100644
--- a/source3/modules/vfs_acl_xattr.c
+++ b/source3/modules/vfs_acl_xattr.c
@@ -74,7 +74,7 @@ static NTSTATUS parse_acl_blob(const DATA_BLOB *pblob,
}
#endif
- *ppdesc = make_sec_desc(ctx, SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE,
+ *ppdesc = make_sec_desc(ctx, SEC_DESC_REVISION, xacl.info.sd_ts->sd->type | SEC_DESC_SELF_RELATIVE,
(security_info & OWNER_SECURITY_INFORMATION)
? xacl.info.sd_ts->sd->owner_sid : NULL,
(security_info & GROUP_SECURITY_INFORMATION)