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/rpc_server | |
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/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 40c26f6809..1271971ac6 100644 --- a/source3/rpc_server/srv_srvsvc_nt.c +++ b/source3/rpc_server/srv_srvsvc_nt.c @@ -2146,7 +2146,7 @@ WERROR _srvsvc_NetGetFileSecurity(pipes_struct *p, } nt_status = SMB_VFS_FGET_NT_ACL(fsp, - (OWNER_SECURITY_INFORMATION + (SECINFO_OWNER |GROUP_SECURITY_INFORMATION |DACL_SECURITY_INFORMATION), &psd); @@ -2280,7 +2280,7 @@ WERROR _srvsvc_NetSetFileSecurity(pipes_struct *p, security_info_sent = r->in.securityinformation; if (psd->owner_sid==0) { - security_info_sent &= ~OWNER_SECURITY_INFORMATION; + security_info_sent &= ~SECINFO_OWNER; } if (psd->group_sid==0) { security_info_sent &= ~GROUP_SECURITY_INFORMATION; diff --git a/source3/rpc_server/srv_svcctl_nt.c b/source3/rpc_server/srv_svcctl_nt.c index bc751e79b8..e67ab8e8ce 100644 --- a/source3/rpc_server/srv_svcctl_nt.c +++ b/source3/rpc_server/srv_svcctl_nt.c @@ -926,7 +926,7 @@ WERROR _svcctl_SetServiceObjectSecurity(pipes_struct *p, required_access = STD_RIGHT_WRITE_DAC_ACCESS; break; - case OWNER_SECURITY_INFORMATION: + case SECINFO_OWNER: case GROUP_SECURITY_INFORMATION: required_access = STD_RIGHT_WRITE_OWNER_ACCESS; break; |