diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/nttrans.c | 2 | ||||
-rw-r--r-- | source3/smbd/open.c | 2 |
2 files changed, 2 insertions, 2 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) 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); } |