this implements a completely new strategy for fetching group
authorAndrew Tridgell <tridge@samba.org>
Thu, 11 Jul 2002 05:28:08 +0000 (05:28 +0000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 11 Jul 2002 05:28:08 +0000 (05:28 +0000)
commit5538048e4f6dd224b2990f3c6a3e99fd07065f77
tree8d8698971927650d3d749f835eee52b1b1500cfb
parent17bb780e1327663fa2fcd6a3cb25dd461a29c537
this implements a completely new strategy for fetching group
membership from an ADS server. We now use a 'member' query on the
group and do a separate call to convert the resulting distinguished
name to a name, rid etc. This is *much* faster for very large numbers
of groups (on a quantum test system with 10000 groups it drops the
time from an hour to about 35 seconds).

strangely enough, this actually *increases* the amount of ldap
traffic, its just that the MS LDAP server answers these queries much
faster.
source/libads/ldap.c
source/nsswitch/winbindd_ads.c