summaryrefslogtreecommitdiff
path: root/source3/modules/onefs_acl.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-02 23:25:18 +0200
committerGünther Deschner <gd@samba.org>2010-06-03 10:59:38 +0200
commit630c27bdad32086f16dbafdeab94d34fbc3b9b5e (patch)
tree91a031718d84014cdfe71dac8f938970a3946d4a /source3/modules/onefs_acl.c
parent415d3d5fe7637e8f9a649665497d3972391750b6 (diff)
downloadsamba-630c27bdad32086f16dbafdeab94d34fbc3b9b5e.tar.gz
samba-630c27bdad32086f16dbafdeab94d34fbc3b9b5e.tar.bz2
samba-630c27bdad32086f16dbafdeab94d34fbc3b9b5e.zip
s3-security: use shared SECINFO_GROUP define.
Guenther
Diffstat (limited to 'source3/modules/onefs_acl.c')
-rw-r--r--source3/modules/onefs_acl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/onefs_acl.c b/source3/modules/onefs_acl.c
index 65e58e1797..51c6a233f9 100644
--- a/source3/modules/onefs_acl.c
+++ b/source3/modules/onefs_acl.c
@@ -715,7 +715,7 @@ onefs_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp,
}
/* Copy group into ppdesc */
- if (security_info & GROUP_SECURITY_INFORMATION) {
+ if (security_info & SECINFO_GROUP) {
if (!onefs_identity_to_sid(sd->group, &group_sid)) {
status = NT_STATUS_INVALID_PARAMETER;
goto out;
@@ -850,7 +850,7 @@ NTSTATUS onefs_samba_sd_to_sd(uint32_t security_info_sent,
}
/* Setup group */
- if (security_info_sent & GROUP_SECURITY_INFORMATION) {
+ if (security_info_sent & SECINFO_GROUP) {
if (!onefs_og_to_identity(psd->group_sid, &group, true, snum))
return NT_STATUS_ACCESS_DENIED;