mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
Fix for DACL/SACL masking typo - spotted by medha@pezman.austin.ibm.com.
Jeremy. (This used to be commit 8fc6bc170fd3dd1fd9437d4acc94bd251c35d544)
This commit is contained in:
parent
94fc44a93c
commit
b94ef4b67c
@ -1115,9 +1115,9 @@ static BOOL set_sd(files_struct *fsp, char *data, uint32 sd_len, uint security_i
|
||||
if (psd->off_grp_sid==0)
|
||||
security_info_sent &= ~GROUP_SECURITY_INFORMATION;
|
||||
if (psd->off_sacl==0)
|
||||
security_info_sent &= ~DACL_SECURITY_INFORMATION;
|
||||
if (psd->off_dacl==0)
|
||||
security_info_sent &= ~SACL_SECURITY_INFORMATION;
|
||||
if (psd->off_dacl==0)
|
||||
security_info_sent &= ~DACL_SECURITY_INFORMATION;
|
||||
|
||||
ret = set_nt_acl( fsp, security_info_sent, psd);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user