From c4a95f900a64649527a0a299eb52c352c51a2ae7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 27 Aug 2009 14:16:22 +0200 Subject: s3:winbind: Remove the manual caching for the async wb_ functions The generic NDR-based cache in winbindd_dual_ndr.c replaces this. --- source3/winbindd/wb_queryuser.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'source3/winbindd/wb_queryuser.c') diff --git a/source3/winbindd/wb_queryuser.c b/source3/winbindd/wb_queryuser.c index 7a2f1de17b..d85af78f3e 100644 --- a/source3/winbindd/wb_queryuser.c +++ b/source3/winbindd/wb_queryuser.c @@ -35,7 +35,6 @@ struct tevent_req *wb_queryuser_send(TALLOC_CTX *mem_ctx, struct tevent_req *req, *subreq; struct wb_queryuser_state *state; struct winbindd_domain *domain; - NTSTATUS status; req = tevent_req_create(mem_ctx, &state, struct wb_queryuser_state); if (req == NULL) { @@ -54,12 +53,6 @@ struct tevent_req *wb_queryuser_send(TALLOC_CTX *mem_ctx, return tevent_req_post(req, ev); } - status = wcache_query_user(domain, state, &state->sid, state->info); - if (NT_STATUS_IS_OK(status)) { - tevent_req_done(req); - return tevent_req_post(req, ev); - } - subreq = rpccli_wbint_QueryUser_send(state, ev, domain->child.rpccli, &state->sid, state->info); if (tevent_req_nomem(subreq, req)) { -- cgit