1
0
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:
Jeremy Allison 2001-02-12 22:37:40 +00:00
parent 94fc44a93c
commit b94ef4b67c

View File

@ -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);