From e24a59f932897888cadae31469366663aca1a414 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 2 Jun 2010 23:29:16 +0200 Subject: s3-security: use shared SECINFO_SACL define. Guenther --- source3/smbd/nttrans.c | 2 +- source3/smbd/open.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd') 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) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 8c9df72cbc..f6905eaaa1 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -3212,7 +3212,7 @@ static NTSTATUS create_file_unixpath(connection_struct *conn, if (sec_info_sent & (SECINFO_OWNER| SECINFO_GROUP| DACL_SECURITY_INFORMATION| - SACL_SECURITY_INFORMATION)) { + SECINFO_SACL)) { status = SMB_VFS_FSET_NT_ACL(fsp, sec_info_sent, sd); } -- cgit