git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24c598b
)
Final fix to make us pass NULL SD test in RAW-ACLs. Not sure if this is 100% right...
author
Jeremy Allison
<jra@samba.org>
Thu, 6 Nov 2008 09:45:40 +0000
(
01:45
-0800)
committer
Jeremy Allison
<jra@samba.org>
Thu, 6 Nov 2008 09:45:40 +0000
(
01:45
-0800)
Jeremy.
source3/smbd/nttrans.c
patch
|
blob
|
history
diff --git
a/source3/smbd/nttrans.c
b/source3/smbd/nttrans.c
index f711b588c5ec1c9b76aefb61168bb234097bdc33..50a3aea856335fcabf2615df52a4e51d436aea57 100644
(file)
--- a/
source3/smbd/nttrans.c
+++ b/
source3/smbd/nttrans.c
@@
-725,6
+725,9
@@
static NTSTATUS set_sd(files_struct *fsp, uint8 *data, uint32 sd_len,
if (psd->sacl==0) {
security_info_sent &= ~SACL_SECURITY_INFORMATION;
}
+ if (security_info_sent & DACL_SECURITY_INFORMATION) {
+ psd->type |= SEC_DESC_DACL_PRESENT;
+ }
if (psd->dacl==0) {
security_info_sent &= ~DACL_SECURITY_INFORMATION;
}