s4:rpc_server/lsa: rename 'state' variable to 'policy_state' in dcesrv_lsa_LookupSids...
authorStefan Metzmacher <metze@samba.org>
Mon, 22 Jan 2018 08:27:49 +0000 (09:27 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 21 Feb 2018 13:19:18 +0000 (14:19 +0100)
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>
source4/rpc_server/lsa/lsa_lookup.c

index defcef5089a7ee9152b4f2978bfe09eef512debf..378aff055e853fe2e74a70d6b0bb0382b563b679 100644 (file)
@@ -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;