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/rpc_server | |
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/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_srvsvc_nt.c | 4 | ||||
-rw-r--r-- | source3/rpc_server/srv_svcctl_nt.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c index 1271971ac6..08180a4f76 100644 --- a/source3/rpc_server/srv_srvsvc_nt.c +++ b/source3/rpc_server/srv_srvsvc_nt.c @@ -2147,7 +2147,7 @@ WERROR _srvsvc_NetGetFileSecurity(pipes_struct *p, nt_status = SMB_VFS_FGET_NT_ACL(fsp, (SECINFO_OWNER - |GROUP_SECURITY_INFORMATION + |SECINFO_GROUP |DACL_SECURITY_INFORMATION), &psd); if (!NT_STATUS_IS_OK(nt_status)) { @@ -2283,7 +2283,7 @@ WERROR _srvsvc_NetSetFileSecurity(pipes_struct *p, security_info_sent &= ~SECINFO_OWNER; } if (psd->group_sid==0) { - security_info_sent &= ~GROUP_SECURITY_INFORMATION; + security_info_sent &= ~SECINFO_GROUP; } if (psd->sacl==0) { security_info_sent &= ~SACL_SECURITY_INFORMATION; diff --git a/source3/rpc_server/srv_svcctl_nt.c b/source3/rpc_server/srv_svcctl_nt.c index e67ab8e8ce..0e63fa8e6e 100644 --- a/source3/rpc_server/srv_svcctl_nt.c +++ b/source3/rpc_server/srv_svcctl_nt.c @@ -927,7 +927,7 @@ WERROR _svcctl_SetServiceObjectSecurity(pipes_struct *p, break; case SECINFO_OWNER: - case GROUP_SECURITY_INFORMATION: + case SECINFO_GROUP: required_access = STD_RIGHT_WRITE_OWNER_ACCESS; break; |