summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-11-06 01:58:56 -0800
committerJeremy Allison <jra@samba.org>2008-11-06 01:58:56 -0800
commit87f563c2308b761bc9c42caf5ab240746004e908 (patch)
tree6d6be1f2471828beb4453a8dda819734d1c0903f /source3
parent7522ef15aca2429ef57c75d8297dd8121e79c9da (diff)
downloadsamba-87f563c2308b761bc9c42caf5ab240746004e908.tar.gz
samba-87f563c2308b761bc9c42caf5ab240746004e908.tar.bz2
samba-87f563c2308b761bc9c42caf5ab240746004e908.zip
Start factoring out the inheritance differences.
Jeremy.
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/secdesc.c3
-rw-r--r--source3/modules/vfs_acl_xattr.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/source3/lib/secdesc.c b/source3/lib/secdesc.c
index 2987306066..94d249564f 100644
--- a/source3/lib/secdesc.c
+++ b/source3/lib/secdesc.c
@@ -574,8 +574,7 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx,
}
*ppsd = make_sec_desc(ctx,
SECURITY_DESCRIPTOR_REVISION_1,
- SEC_DESC_SELF_RELATIVE|SEC_DESC_DACL_PRESENT|
- SEC_DESC_DACL_DEFAULTED,
+ SEC_DESC_SELF_RELATIVE|SEC_DESC_DACL_PRESENT,
owner_sid,
group_sid,
NULL,
diff --git a/source3/modules/vfs_acl_xattr.c b/source3/modules/vfs_acl_xattr.c
index c6fb0b5907..209209d287 100644
--- a/source3/modules/vfs_acl_xattr.c
+++ b/source3/modules/vfs_acl_xattr.c
@@ -326,8 +326,7 @@ static struct security_descriptor *default_file_sd(TALLOC_CTX *mem_ctx,
}
return make_sec_desc(mem_ctx,
SECURITY_DESCRIPTOR_REVISION_1,
- SEC_DESC_SELF_RELATIVE|SEC_DESC_DACL_PRESENT|
- SEC_DESC_DACL_DEFAULTED,
+ SEC_DESC_SELF_RELATIVE|SEC_DESC_DACL_PRESENT,
&owner_sid,
&group_sid,
NULL,