summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_acl_common.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/modules/vfs_acl_common.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/modules/vfs_acl_common.c')
-rw-r--r--source3/modules/vfs_acl_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c
index 08b4fbaf4d..59aa70310f 100644
--- a/source3/modules/vfs_acl_common.c
+++ b/source3/modules/vfs_acl_common.c
@@ -39,7 +39,7 @@ static NTSTATUS store_acl_blob_fsp(vfs_handle_struct *handle,
#define HASH_SECURITY_INFO (SECINFO_OWNER | \
SECINFO_GROUP | \
DACL_SECURITY_INFORMATION | \
- SACL_SECURITY_INFORMATION)
+ SECINFO_SACL)
/*******************************************************************
Hash a security descriptor.
@@ -380,7 +380,7 @@ static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle,
if (!(security_info & DACL_SECURITY_INFORMATION)) {
psd->dacl = NULL;
}
- if (!(security_info & SACL_SECURITY_INFORMATION)) {
+ if (!(security_info & SECINFO_SACL)) {
psd->sacl = NULL;
}