From 7c53ffea28a5752bf28c23b4741ceba77ff1fe1f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 29 Oct 2008 13:27:14 -0700 Subject: Allow a new file to inherit the Windows ACL from its parent. Now to do the same for directories. Jeremy. --- source3/include/proto.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index e4a445bcd0..b227a30f00 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -758,8 +758,17 @@ SEC_DESC_BUF *dup_sec_desc_buf(TALLOC_CTX *ctx, SEC_DESC_BUF *src); NTSTATUS sec_desc_add_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, uint32 mask, size_t *sd_size); NTSTATUS sec_desc_mod_sid(SEC_DESC *sd, DOM_SID *sid, uint32 mask); NTSTATUS sec_desc_del_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, size_t *sd_size); -SEC_DESC_BUF *se_create_child_secdesc(TALLOC_CTX *ctx, SEC_DESC *parent_ctr, - bool child_container); +NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx, + SEC_DESC **ppsd, + size_t *psize, + const SEC_DESC *parent_ctr, + const DOM_SID *owner_sid, + const DOM_SID *group_sid, + bool container); +NTSTATUS se_create_child_secdesc_buf(TALLOC_CTX *ctx, + SEC_DESC_BUF **ppsdb, + const SEC_DESC *parent_ctr, + bool container); /* The following definitions come from lib/select.c */ -- cgit