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,
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.