summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-02 23:29:16 +0200
committerGünther Deschner <gd@samba.org>2010-06-03 10:59:54 +0200
commite24a59f932897888cadae31469366663aca1a414 (patch)
tree3b8bf82f734b6c9126e86ca749df05205fadfb7c /source3/smbd/nttrans.c
parent630c27bdad32086f16dbafdeab94d34fbc3b9b5e (diff)
downloadsamba-e24a59f932897888cadae31469366663aca1a414.tar.gz
samba-e24a59f932897888cadae31469366663aca1a414.tar.bz2
samba-e24a59f932897888cadae31469366663aca1a414.zip
s3-security: use shared SECINFO_SACL define.
Guenther
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 85b005f376..1b34b6ce80 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -1806,7 +1806,7 @@ NTSTATUS smbd_do_query_security_desc(connection_struct *conn,
/* If the SACL/DACL is NULL, but was requested, we mark that it is
* present in the reply to match Windows behavior */
if (psd->sacl == NULL &&
- security_info_wanted & SACL_SECURITY_INFORMATION)
+ security_info_wanted & SECINFO_SACL)
psd->type |= SEC_DESC_SACL_PRESENT;
if (psd->dacl == NULL &&
security_info_wanted & DACL_SECURITY_INFORMATION)