s3:winbind: Fork multiple children per domain
commitfb9e65735526080cb6cb90ae42ea20c474d90268
authorVolker Lendecke <vl@samba.org>
Wed, 7 Apr 2010 15:45:12 +0000 (7 17:45 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 21 Jan 2011 13:50:44 +0000 (21 14:50 +0100)
treeb38e9a6c94099e7a35b033ffadf31959d25a846c
parentd35fc973d966eebff204665a728a1639a19d198c
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.
24 files changed:
source3/include/proto.h
source3/param/loadparm.c
source3/winbindd/wb_dsgetdcname.c
source3/winbindd/wb_group_members.c
source3/winbindd/wb_lookupname.c
source3/winbindd/wb_lookupsid.c
source3/winbindd/wb_lookupuseraliases.c
source3/winbindd/wb_lookupusergroups.c
source3/winbindd/wb_next_grent.c
source3/winbindd/wb_query_user_list.c
source3/winbindd/wb_queryuser.c
source3/winbindd/wb_seqnum.c
source3/winbindd/winbindd.h
source3/winbindd/winbindd_change_machine_acct.c
source3/winbindd/winbindd_check_machine_acct.c
source3/winbindd/winbindd_domain.c
source3/winbindd/winbindd_dual.c
source3/winbindd/winbindd_list_groups.c
source3/winbindd/winbindd_list_users.c
source3/winbindd/winbindd_lookuprids.c
source3/winbindd/winbindd_ndr.c
source3/winbindd/winbindd_ping_dc.c
source3/winbindd/winbindd_proto.h
source3/winbindd/winbindd_util.c