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)
commit131bb928f19c7b1f582c4ad9ac42e5f3d9dfb622
treea33864c684cac999f17b02b38eacd26a6b5b6324
parent0d5b0345a60741ae50f6770d9cecf698864cd209
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
source/libads/ldap.c
source/nsswitch/winbindd_ads.c