git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38049c1
)
Note url explaining this code.
author
Jeremy Allison
<jra@samba.org>
Tue, 14 Oct 2008 22:40:44 +0000
(15:40 -0700)
committer
Michael Adam
<obnox@samba.org>
Fri, 24 Oct 2008 13:47:09 +0000
(15:47 +0200)
Jeremy.
(cherry picked from commit
4f1cdfe0901f4c78dff56ae5c26d2801b97d50d5
)
(cherry picked from commit
9953885d0be6a2477f5fd29940f3f1d6a7136cf4
)
source/smbd/posix_acls.c
patch
|
blob
|
history
diff --git
a/source/smbd/posix_acls.c
b/source/smbd/posix_acls.c
index 619dc968b28b969c7ff661abd3cda8af561f1977..30b3c3c2853cdceb8257f0054373222b9c32c1c4 100644
(file)
--- 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|