diff options
author | Günther Deschner <gd@samba.org> | 2010-06-02 23:35:44 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-06-03 11:00:12 +0200 |
commit | a75436e3ee11fa1491bfa574523269be716fc892 (patch) | |
tree | 16b926c2956bfb9bbf2e4814c86bca985cd8d85a /source3/modules/onefs_acl.c | |
parent | e24a59f932897888cadae31469366663aca1a414 (diff) | |
download | samba-a75436e3ee11fa1491bfa574523269be716fc892.tar.gz samba-a75436e3ee11fa1491bfa574523269be716fc892.tar.bz2 samba-a75436e3ee11fa1491bfa574523269be716fc892.zip |
s3-security: use shared SECINFO_DACL define.
Guenther
Diffstat (limited to 'source3/modules/onefs_acl.c')
-rw-r--r-- | source3/modules/onefs_acl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/onefs_acl.c b/source3/modules/onefs_acl.c index 4fa2e79c7b..7080f6c660 100644 --- a/source3/modules/onefs_acl.c +++ b/source3/modules/onefs_acl.c @@ -725,7 +725,7 @@ onefs_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp, } /* Copy DACL into ppdesc */ - if (security_info & DACL_SECURITY_INFORMATION) { + if (security_info & SECINFO_DACL) { if (!onefs_acl_to_samba_acl(sd->dacl, &dacl)) { status = NT_STATUS_INVALID_PARAMETER; goto out; @@ -860,13 +860,13 @@ NTSTATUS onefs_samba_sd_to_sd(uint32_t security_info_sent, } /* Setup DACL */ - if ((security_info_sent & DACL_SECURITY_INFORMATION) && (psd->dacl)) { + if ((security_info_sent & SECINFO_DACL) && (psd->dacl)) { if (!onefs_samba_acl_to_acl(psd->dacl, &daclp, &ignore_aces, snum)) return NT_STATUS_ACCESS_DENIED; if (ignore_aces == true) - *security_info_effective &= ~DACL_SECURITY_INFORMATION; + *security_info_effective &= ~SECINFO_DACL; } /* Setup SACL */ |