This was added as part of
9be918116e356c358ef77cc2933e471090088293, but
is not needed anymore as the previous commit changed the logic.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11961
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
* wbint_LookupSid. Preallocated with num_sids.
*/
uint32_t *single_sids;
* wbint_LookupSid. Preallocated with num_sids.
*/
uint32_t *single_sids;
- /* Pointer into the "domains" array above*/
- struct wb_lookupsids_domain **single_domains;
uint32_t num_single_sids;
uint32_t single_sids_done;
uint32_t num_single_sids;
uint32_t single_sids_done;
if (tevent_req_nomem(state->single_sids, req)) {
return tevent_req_post(req, ev);
}
if (tevent_req_nomem(state->single_sids, req)) {
return tevent_req_post(req, ev);
}
- state->single_domains = talloc_zero_array(state,
- struct wb_lookupsids_domain *,
- num_sids);
- if (tevent_req_nomem(state->single_domains, req)) {
- return tevent_req_post(req, ev);
- }
state->res_domains = talloc_zero(state, struct lsa_RefDomainList);
if (tevent_req_nomem(state->res_domains, req)) {
state->res_domains = talloc_zero(state, struct lsa_RefDomainList);
if (tevent_req_nomem(state->res_domains, req)) {
state->single_sids[state->num_single_sids] =
res_sid_index;
state->single_sids[state->num_single_sids] =
res_sid_index;
- state->single_domains[state->num_single_sids] = d;
state->num_single_sids += 1;
}
state->domains_done += 1;
state->num_single_sids += 1;
}
state->domains_done += 1;