mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
s3:rpc_client: Remove unused rpccli_lsa_open_policy2()
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Nov 21 12:21:18 UTC 2023 on atb-devel-224
This commit is contained in:
parent
417c8180c4
commit
8863d84d53
@ -126,32 +126,6 @@ NTSTATUS dcerpc_lsa_open_policy2(struct dcerpc_binding_handle *h,
|
||||
result);
|
||||
}
|
||||
|
||||
/** Open a LSA policy handle
|
||||
*
|
||||
* @param cli Handle on an initialised SMB connection
|
||||
*/
|
||||
|
||||
NTSTATUS rpccli_lsa_open_policy2(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx, bool sec_qos,
|
||||
uint32_t des_access, struct policy_handle *pol)
|
||||
{
|
||||
NTSTATUS status;
|
||||
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
|
||||
|
||||
status = dcerpc_lsa_open_policy2(cli->binding_handle,
|
||||
mem_ctx,
|
||||
cli->srv_name_slash,
|
||||
sec_qos,
|
||||
des_access,
|
||||
pol,
|
||||
&result);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return status;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
NTSTATUS dcerpc_lsa_open_policy3(struct dcerpc_binding_handle *h,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
const char *srv_name_slash,
|
||||
|
@ -81,9 +81,6 @@ NTSTATUS dcerpc_lsa_open_policy2(struct dcerpc_binding_handle *h,
|
||||
uint32_t des_access,
|
||||
struct policy_handle *pol,
|
||||
NTSTATUS *result);
|
||||
NTSTATUS rpccli_lsa_open_policy2(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx, bool sec_qos,
|
||||
uint32_t des_access, struct policy_handle *pol);
|
||||
|
||||
/**
|
||||
* @brief Open a LSA policy.
|
||||
|
Loading…
Reference in New Issue
Block a user