diff options
author | Jeremy Allison <jra@samba.org> | 2008-10-14 15:40:44 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-10-15 18:51:45 +0200 |
commit | 9953885d0be6a2477f5fd29940f3f1d6a7136cf4 (patch) | |
tree | a750a80e6a2cea24f01388f0cffa7c2fcc76e097 | |
parent | abfdb52b60e84980d22e6c6c3479e67e20311b12 (diff) | |
download | samba-9953885d0be6a2477f5fd29940f3f1d6a7136cf4.tar.gz samba-9953885d0be6a2477f5fd29940f3f1d6a7136cf4.tar.xz samba-9953885d0be6a2477f5fd29940f3f1d6a7136cf4.zip |
Note url explaining this code.
Jeremy.
(cherry picked from commit 4f1cdfe0901f4c78dff56ae5c26d2801b97d50d5)
-rw-r--r-- | source/smbd/posix_acls.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/smbd/posix_acls.c b/source/smbd/posix_acls.c index d798fa8da45..65ec25190b7 100644 --- a/source/smbd/posix_acls.c +++ b/source/smbd/posix_acls.c @@ -3525,6 +3525,10 @@ NTSTATUS set_nt_acl(files_struct *fsp, uint32 security_info_sent, SEC_DESC *psd) create_file_sids(&sbuf, &file_owner_sid, &file_grp_sid); + /* See here: http://www.codeproject.com/KB/winsdk/accessctrl2.aspx + * for details. JRA. + */ + if ((security_info_sent & DACL_SECURITY_INFORMATION) && psd->dacl != NULL && (psd->type & (SE_DESC_DACL_AUTO_INHERITED| |