summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-10-14 15:39:02 -0700
committerJeremy Allison <jra@samba.org>2008-10-14 15:39:02 -0700
commit7fb590d4f9be26a67e7cd276d63b66cff8901e91 (patch)
tree57439c14b641cb0c4367286924feb5ec0a8c0d2a /source3
parent0132423a094e8f619bef9e59728e4fa76303c834 (diff)
downloadsamba-7fb590d4f9be26a67e7cd276d63b66cff8901e91.tar.gz
samba-7fb590d4f9be26a67e7cd276d63b66cff8901e91.tar.bz2
samba-7fb590d4f9be26a67e7cd276d63b66cff8901e91.zip
Note url explaining this code.
Jeremy.
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/posix_acls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index f129506716..848d3e4a6d 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -3510,6 +3510,10 @@ NTSTATUS set_nt_acl(files_struct *fsp, uint32 security_info_sent, const SEC_DESC
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|