diff options
author | Stefan Metzmacher <metze@samba.org> | 2018-01-22 09:27:49 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2018-02-21 14:19:18 +0100 |
commit | c0f6103ddea9a825f0f0dcf169e70a5f6a55c2e2 (patch) | |
tree | ed561eb9727cad85454dd86e65ef325aeb1a3049 | |
parent | 7c1c9bf53ffc24a25038326767e33f008c7a5552 (diff) | |
download | samba-c0f6103ddea9a825f0f0dcf169e70a5f6a55c2e2.tar.gz |
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 <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
-rw-r--r-- | source4/rpc_server/lsa/lsa_lookup.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |