git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0132423
)
Note url explaining this code.
author
Jeremy Allison
<jra@samba.org>
Tue, 14 Oct 2008 22:39:02 +0000
(15:39 -0700)
committer
Jeremy Allison
<jra@samba.org>
Tue, 14 Oct 2008 22:39:02 +0000
(15:39 -0700)
Jeremy.
source3/smbd/posix_acls.c
patch
|
blob
|
history
diff --git
a/source3/smbd/posix_acls.c
b/source3/smbd/posix_acls.c
index f129506716356574ca997cb27eede7903ca46962..848d3e4a6dd06f561c298bea7f295c812ff165e6 100644
(file)
--- 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|