From b94ef4b67cc0b33c4a2572620234419526066f82 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 12 Feb 2001 22:37:40 +0000 Subject: Fix for DACL/SACL masking typo - spotted by medha@pezman.austin.ibm.com. Jeremy. (This used to be commit 8fc6bc170fd3dd1fd9437d4acc94bd251c35d544) --- source3/smbd/nttrans.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/nttrans.c') diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 207786768b..cf2bdef314 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); -- cgit