summaryrefslogtreecommitdiffstats
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-02-12 22:37:40 +0000
committerJeremy Allison <jra@samba.org>2001-02-12 22:37:40 +0000
commitb94ef4b67cc0b33c4a2572620234419526066f82 (patch)
tree6a798ac38dbddf1af31c36145f3d3e4bb985fc34 /source3/smbd/nttrans.c
parent94fc44a93c46cece9b9fa947bff62087dbcd89fa (diff)
downloadsamba-b94ef4b67cc0b33c4a2572620234419526066f82.tar.gz
samba-b94ef4b67cc0b33c4a2572620234419526066f82.tar.xz
samba-b94ef4b67cc0b33c4a2572620234419526066f82.zip
Fix for DACL/SACL masking typo - spotted by medha@pezman.austin.ibm.com.
Jeremy. (This used to be commit 8fc6bc170fd3dd1fd9437d4acc94bd251c35d544)
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 207786768b7..cf2bdef3146 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -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);