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/winbindd_proto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/winbindd/winbindd_proto.h') diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 5cb6c4c155..c822baa462 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -227,6 +227,9 @@ void setup_domain_child(struct winbindd_domain *domain); /* The following definitions come from winbindd/winbindd_dual.c */ +struct dcerpc_binding_handle *dom_child_handle(struct winbindd_domain *domain); +struct winbindd_child *choose_domain_child(struct winbindd_domain *domain); + struct tevent_req *wb_child_request_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct winbindd_child *child, -- cgit