summaryrefslogtreecommitdiff
path: root/source3/winbindd/wb_lookupusergroups.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-27 14:16:22 +0200
committerVolker Lendecke <vl@samba.org>2009-08-27 15:04:09 +0200
commitc4a95f900a64649527a0a299eb52c352c51a2ae7 (patch)
treef7957a00d961325c7e2526ba4a3a68469747ab0c /source3/winbindd/wb_lookupusergroups.c
parent94948f7a401df781ad64090a804a894cf2976a86 (diff)
downloadsamba-c4a95f900a64649527a0a299eb52c352c51a2ae7.tar.gz
samba-c4a95f900a64649527a0a299eb52c352c51a2ae7.tar.bz2
samba-c4a95f900a64649527a0a299eb52c352c51a2ae7.zip
s3:winbind: Remove the manual caching for the async wb_ functions
The generic NDR-based cache in winbindd_dual_ndr.c replaces this.
Diffstat (limited to 'source3/winbindd/wb_lookupusergroups.c')
-rw-r--r--source3/winbindd/wb_lookupusergroups.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/winbindd/wb_lookupusergroups.c b/source3/winbindd/wb_lookupusergroups.c
index 4e96b45c57..99c75b6060 100644
--- a/source3/winbindd/wb_lookupusergroups.c
+++ b/source3/winbindd/wb_lookupusergroups.c
@@ -36,7 +36,6 @@ struct tevent_req *wb_lookupusergroups_send(TALLOC_CTX *mem_ctx,
{
struct tevent_req *req, *subreq;
struct wb_lookupusergroups_state *state;
- NTSTATUS status;
req = tevent_req_create(mem_ctx, &state,
struct wb_lookupusergroups_state);
@@ -45,14 +44,6 @@ struct tevent_req *wb_lookupusergroups_send(TALLOC_CTX *mem_ctx,
}
sid_copy(&state->sid, sid);
- status = wcache_lookup_usergroups(domain, state, sid,
- &state->sids.num_sids,
- &state->sids.sids);
- if (NT_STATUS_IS_OK(status)) {
- tevent_req_done(req);
- return tevent_req_post(req, ev);
- }
-
subreq = rpccli_wbint_LookupUserGroups_send(
state, ev, domain->child.rpccli, &state->sid, &state->sids);
if (tevent_req_nomem(subreq, req)) {