diff options
author | Günther Deschner <gd@samba.org> | 2010-06-02 23:22:12 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-06-03 10:59:15 +0200 |
commit | 415d3d5fe7637e8f9a649665497d3972391750b6 (patch) | |
tree | 54148725791d128842e9d1926fb3de01cd88f829 /source3/modules/onefs_acl.c | |
parent | 788d7f9e4ae76105ee481bde42e2ddb8fdac2617 (diff) | |
download | samba-415d3d5fe7637e8f9a649665497d3972391750b6.tar.gz samba-415d3d5fe7637e8f9a649665497d3972391750b6.tar.bz2 samba-415d3d5fe7637e8f9a649665497d3972391750b6.zip |
s3-security: use shared SECINFO_OWNER define.
Guenther
Diffstat (limited to 'source3/modules/onefs_acl.c')
-rw-r--r-- | source3/modules/onefs_acl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/onefs_acl.c b/source3/modules/onefs_acl.c index 3337dea255..65e58e1797 100644 --- a/source3/modules/onefs_acl.c +++ b/source3/modules/onefs_acl.c @@ -705,7 +705,7 @@ onefs_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp, sacl = NULL; /* Copy owner into ppdesc */ - if (security_info & OWNER_SECURITY_INFORMATION) { + if (security_info & SECINFO_OWNER) { if (!onefs_identity_to_sid(sd->owner, &owner_sid)) { status = NT_STATUS_INVALID_PARAMETER; goto out; @@ -840,7 +840,7 @@ NTSTATUS onefs_samba_sd_to_sd(uint32_t security_info_sent, *security_info_effective = security_info_sent; /* Setup owner */ - if (security_info_sent & OWNER_SECURITY_INFORMATION) { + if (security_info_sent & SECINFO_OWNER) { if (!onefs_og_to_identity(psd->owner_sid, &owner, false, snum)) return NT_STATUS_ACCESS_DENIED; |