Fix for bug 707, getent group for huge ads groups (>1500 members)
authorAndrew Bartlett <abartlet@samba.org>
Mon, 5 Jan 2004 01:48:21 +0000 (01:48 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 5 Jan 2004 01:48:21 +0000 (01:48 +0000)
commit685e0cbeb846cfbd09bb0f497968c5354f13de00
treeb60e4fdd2ddad0181a2a3cf3421a79ae3acac437
parent11bd06198b3ed4682229956fdec260a1e109ea21
Fix for bug 707, getent group for huge ads groups (>1500 members)
This introduces range retrieval of ADS attributes.

VL rewrote most of Günther's patch, partly to remove code duplication and
partly to get the retrieval of members in one rush, not interrupted by the
lookups for the DN.

I rewrote that patch, to ensure that we can keep an eye on the USN
(sequence number) of the entry - this allows us to ensure the read was
atomic.

In particular, the range retrieval is now generic, for strings.  It
could easily be made generic for any attribute type, if need be.

Andrew Bartlett
(This used to be commit 131bb928f19c7b1f582c4ad9ac42e5f3d9dfb622)
source3/libads/ldap.c
source3/nsswitch/winbindd_ads.c