summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/winbindd_list_groups.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-07 17:45:12 +0200
committerMichael Adam <obnox@samba.org>2011-01-21 13:51:27 +0100
commit9c2fcb689b647be60731ea8ce8abfe22c0e63dde (patch)
tree3107f4efd36a8c79271dd2367098959876f7f8eb /source3/winbindd/winbindd_list_groups.c
parent7a2fa9fc1cf5b26419c9cd915e85030c7f14e764 (diff)
downloadsamba-9c2fcb689b647be60731ea8ce8abfe22c0e63dde.tar.gz
samba-9c2fcb689b647be60731ea8ce8abfe22c0e63dde.tar.xz
samba-9c2fcb689b647be60731ea8ce8abfe22c0e63dde.zip
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.
Diffstat (limited to 'source3/winbindd/winbindd_list_groups.c')
-rw-r--r--source3/winbindd/winbindd_list_groups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_list_groups.c b/source3/winbindd/winbindd_list_groups.c
index 42367944859..2e2c70a33de 100644
--- a/source3/winbindd/winbindd_list_groups.c
+++ b/source3/winbindd/winbindd_list_groups.c
@@ -91,7 +91,7 @@ struct tevent_req *winbindd_list_groups_send(TALLOC_CTX *mem_ctx,
struct winbindd_list_groups_domstate *d = &state->domains[i];
d->subreq = dcerpc_wbint_QueryGroupList_send(
- state->domains, ev, d->domain->child.binding_handle,
+ state->domains, ev, dom_child_handle(d->domain),
&d->groups);
if (tevent_req_nomem(d->subreq, req)) {
TALLOC_FREE(state->domains);