diff options
author | Günther Deschner <gd@samba.org> | 2010-06-02 23:25:18 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-06-03 10:59:38 +0200 |
commit | 630c27bdad32086f16dbafdeab94d34fbc3b9b5e (patch) | |
tree | 91a031718d84014cdfe71dac8f938970a3946d4a /source3/modules/nfs4_acls.c | |
parent | 415d3d5fe7637e8f9a649665497d3972391750b6 (diff) | |
download | samba-630c27bdad32086f16dbafdeab94d34fbc3b9b5e.tar.gz samba-630c27bdad32086f16dbafdeab94d34fbc3b9b5e.tar.bz2 samba-630c27bdad32086f16dbafdeab94d34fbc3b9b5e.zip |
s3-security: use shared SECINFO_GROUP 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 122fa9294f..9f383cfc16 100644 --- a/source3/modules/nfs4_acls.c +++ b/source3/modules/nfs4_acls.c @@ -323,7 +323,7 @@ static NTSTATUS smb_get_nt_acl_nfs4_common(const SMB_STRUCT_STAT *sbuf, DEBUG(10,("after make sec_acl\n")); *ppdesc = make_sec_desc(mem_ctx, SD_REVISION, SEC_DESC_SELF_RELATIVE, (security_info & SECINFO_OWNER) ? &sid_owner : NULL, - (security_info & GROUP_SECURITY_INFORMATION) ? &sid_group : NULL, + (security_info & SECINFO_GROUP) ? &sid_group : NULL, NULL, psa, &sd_size); if (*ppdesc==NULL) { DEBUG(2,("make_sec_desc failed\n")); @@ -735,7 +735,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 | - GROUP_SECURITY_INFORMATION | SECINFO_OWNER)) == 0) + SECINFO_GROUP | SECINFO_OWNER)) == 0) { DEBUG(9, ("security_info_sent (0x%x) ignored\n", security_info_sent)); |