1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4:rpc_server/lsa: rename 'state' variable to 'policy_state' in dcesrv_lsa_LookupSids2()

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13286

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Stefan Metzmacher 2018-01-22 09:27:49 +01:00 committed by Ralph Boehme
parent c0f6103dde
commit c78c17dc2f

View File

@ -684,20 +684,20 @@ NTSTATUS dcesrv_lsa_LookupSids2(struct dcesrv_call_state *dce_call,
{
enum dcerpc_transport_t transport =
dcerpc_binding_get_transport(dce_call->conn->endpoint->ep_description);
struct lsa_policy_state *state;
struct dcesrv_handle *h;
struct lsa_policy_state *policy_state = NULL;
struct dcesrv_handle *policy_handle = NULL;
if (transport != NCACN_NP && transport != NCALRPC) {
DCESRV_FAULT(DCERPC_FAULT_ACCESS_DENIED);
}
DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY);
DCESRV_PULL_HANDLE(policy_handle, r->in.handle, LSA_HANDLE_POLICY);
state = h->data;
policy_state = policy_handle->data;
return dcesrv_lsa_LookupSids_common(dce_call,
mem_ctx,
state,
policy_state,
r);
}