diff options
author | Günther Deschner <gd@samba.org> | 2010-06-03 10:36:05 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-06-03 11:00:26 +0200 |
commit | b6a2cea74d90499bd3e239ab696502ae8afed30e (patch) | |
tree | 5b2796475ab3e334cd4d39fa25742d756a6b851c /source3/rpc_server/srv_lsa_nt.c | |
parent | 102b0cfe62c6486846cdfb4938a83e2be4aad912 (diff) | |
download | samba-b6a2cea74d90499bd3e239ab696502ae8afed30e.tar.gz samba-b6a2cea74d90499bd3e239ab696502ae8afed30e.tar.bz2 samba-b6a2cea74d90499bd3e239ab696502ae8afed30e.zip |
s3-security: use shared "Standard access rights.".
Guenther
Diffstat (limited to 'source3/rpc_server/srv_lsa_nt.c')
-rw-r--r-- | source3/rpc_server/srv_lsa_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c index 7e00e7aa33..fffb912782 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -1414,7 +1414,7 @@ NTSTATUS _lsa_DeleteObject(pipes_struct *p, return NT_STATUS_INVALID_HANDLE; } - if (!(info->access & STD_RIGHT_DELETE_ACCESS)) { + if (!(info->access & SEC_STD_DELETE)) { return NT_STATUS_ACCESS_DENIED; } @@ -2261,7 +2261,7 @@ NTSTATUS _lsa_RemoveAccountRights(pipes_struct *p, status = access_check_object(psd, p->server_info->ptok, NULL, 0, LSA_ACCOUNT_ADJUST_PRIVILEGES|LSA_ACCOUNT_ADJUST_SYSTEM_ACCESS| - LSA_ACCOUNT_VIEW|STD_RIGHT_DELETE_ACCESS, + LSA_ACCOUNT_VIEW|SEC_STD_DELETE, &acc_granted, "_lsa_RemoveAccountRights"); if (!NT_STATUS_IS_OK(status)) { return status; |