From: Stefan Metzmacher Date: Mon, 22 Jan 2018 08:27:49 +0000 (+0100) Subject: s4:rpc_server/lsa: rename 'state' variable to 'policy_state' in dcesrv_lsa_LookupSids... X-Git-Tag: tevent-0.9.36~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0f6103ddea9a825f0f0dcf169e70a5f6a55c2e2;p=thirdparty%2Fsamba.git s4:rpc_server/lsa: rename 'state' variable to 'policy_state' in dcesrv_lsa_LookupSids_common() Bug: https://bugzilla.samba.org/show_bug.cgi?id=13286 Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/source4/rpc_server/lsa/lsa_lookup.c b/source4/rpc_server/lsa/lsa_lookup.c index defcef5089a..378aff055e8 100644 --- a/source4/rpc_server/lsa/lsa_lookup.c +++ b/source4/rpc_server/lsa/lsa_lookup.c @@ -589,7 +589,7 @@ static NTSTATUS dcesrv_lsa_lookup_sid(struct lsa_policy_state *state, TALLOC_CTX static NTSTATUS dcesrv_lsa_LookupSids_common(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, - struct lsa_policy_state *state, + struct lsa_policy_state *policy_state, struct lsa_LookupSids2 *r) { struct lsa_RefDomainList *domains = NULL; @@ -643,15 +643,15 @@ static NTSTATUS dcesrv_lsa_LookupSids_common(struct dcesrv_call_state *dce_call, continue; } - status2 = dcesrv_lsa_lookup_sid(state, mem_ctx, sid, sid_str, + status2 = dcesrv_lsa_lookup_sid(policy_state, mem_ctx, sid, sid_str, &authority_name, &name, &rtype); if (!NT_STATUS_IS_OK(status2)) { continue; } /* set up the authority table */ - status2 = dcesrv_lsa_authority_list(state, mem_ctx, rtype, - authority_name, sid, + status2 = dcesrv_lsa_authority_list(policy_state, mem_ctx, rtype, + authority_name, sid, domains, &sid_index); if (!NT_STATUS_IS_OK(status2)) { continue;