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/nfs4_acls.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/nfs4_acls.c')
-rw-r--r-- | source3/modules/nfs4_acls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c index 9f383cfc16..a6b9c6ed01 100644 --- a/source3/modules/nfs4_acls.c +++ b/source3/modules/nfs4_acls.c @@ -734,7 +734,7 @@ NTSTATUS smb_set_nt_acl_nfs4(files_struct *fsp, DEBUG(10, ("smb_set_nt_acl_nfs4 invoked for %s\n", fsp_str_dbg(fsp))); - if ((security_info_sent & (DACL_SECURITY_INFORMATION | + if ((security_info_sent & (SECINFO_DACL | SECINFO_GROUP | SECINFO_OWNER)) == 0) { DEBUG(9, ("security_info_sent (0x%x) ignored\n", @@ -784,7 +784,7 @@ NTSTATUS smb_set_nt_acl_nfs4(files_struct *fsp, } } - if (!(security_info_sent & DACL_SECURITY_INFORMATION) || psd->dacl ==NULL) { + if (!(security_info_sent & SECINFO_DACL) || psd->dacl ==NULL) { DEBUG(10, ("no dacl found; security_info_sent = 0x%x\n", security_info_sent)); return NT_STATUS_OK; } |