From 9c2fcb689b647be60731ea8ce8abfe22c0e63dde Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 7 Apr 2010 17:45:12 +0200 Subject: s3:winbind: Fork multiple children per domain This makes us scale better with many simultaneous winbind requests, some of which might be slow. This implementation breaks offline logons, as the cached credentials are maintained in a child (this needs fixing). So, if the offline logons are active, only allow one DC connection. Probably the offline logon and the scalable file server cases are separate enough so that this patch is useful even with the restriction. --- source3/winbindd/wb_query_user_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/winbindd/wb_query_user_list.c') diff --git a/source3/winbindd/wb_query_user_list.c b/source3/winbindd/wb_query_user_list.c index c4eb200d88..abbf7668e9 100644 --- a/source3/winbindd/wb_query_user_list.c +++ b/source3/winbindd/wb_query_user_list.c @@ -41,7 +41,7 @@ struct tevent_req *wb_query_user_list_send(TALLOC_CTX *mem_ctx, } subreq = dcerpc_wbint_QueryUserList_send(state, ev, - domain->child.binding_handle, + dom_child_handle(domain), &state->users); if (tevent_req_nomem(subreq, req)) { return tevent_req_post(req, ev); -- cgit