diff options
author | Jeremy Allison <jra@samba.org> | 2012-08-29 13:29:34 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-08-30 10:08:50 -0700 |
commit | 70ebf1da67e30b585543ffe55a6d7c9da6023138 (patch) | |
tree | 1a08df5de042b9d482af52633779fe041fcbc387 /source3/smbd/proto.h | |
parent | 8c84ecef89dfbfd2cd76b92272fbd32fb13d00b8 (diff) | |
download | samba-70ebf1da67e30b585543ffe55a6d7c9da6023138.tar.gz samba-70ebf1da67e30b585543ffe55a6d7c9da6023138.tar.bz2 samba-70ebf1da67e30b585543ffe55a6d7c9da6023138.zip |
Re-add set_sd(), called from set_sd_blob(). Allows us to centralize all ACL canonicalization.
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 83555906e8..5f4947e934 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -577,6 +577,8 @@ void *init_quota_handle(TALLOC_CTX *mem_ctx); /* The following definitions come from smbd/nttrans.c */ void reply_ntcreate_and_X(struct smb_request *req); +NTSTATUS set_sd(files_struct *fsp, struct security_descriptor *psd, + uint32_t security_info_sent); NTSTATUS set_sd_blob(files_struct *fsp, uint8_t *data, uint32_t sd_len, uint32_t security_info_sent); struct ea_list *read_nttrans_ea_list(TALLOC_CTX *ctx, const char *pdata, size_t data_size); |