mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
Final fix to make us pass NULL SD test in RAW-ACLs. Not sure if this is 100% right. Only inheritance left to fix.
Jeremy.
This commit is contained in:
parent
24c598b1b9
commit
7522ef15ac
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user