diff options
Diffstat (limited to 'source3/winbindd/wb_lookupsid.c')
-rw-r--r-- | source3/winbindd/wb_lookupsid.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source3/winbindd/wb_lookupsid.c b/source3/winbindd/wb_lookupsid.c index f258828048..80e0b80ca1 100644 --- a/source3/winbindd/wb_lookupsid.c +++ b/source3/winbindd/wb_lookupsid.c @@ -38,8 +38,6 @@ struct tevent_req *wb_lookupsid_send(TALLOC_CTX *mem_ctx, { struct tevent_req *req, *subreq; struct wb_lookupsid_state *state; - char *dom_name, *name; - NTSTATUS status; req = tevent_req_create(mem_ctx, &state, struct wb_lookupsid_state); if (req == NULL) { @@ -56,15 +54,6 @@ struct tevent_req *wb_lookupsid_send(TALLOC_CTX *mem_ctx, return tevent_req_post(req, ev); } - status = wcache_sid_to_name(state->lookup_domain, sid, state, - &dom_name, &name, &state->type); - if (NT_STATUS_IS_OK(status)) { - state->domname = dom_name; - state->name = name; - tevent_req_done(req); - return tevent_req_post(req, ev); - } - subreq = rpccli_wbint_LookupSid_send( state, ev, state->lookup_domain->child.rpccli, &state->sid, &state->type, &state->domname, &state->name); |