(merge from 3.0)
authorAndrew Bartlett <abartlet@samba.org>
Mon, 5 Jan 2004 23:51:34 +0000 (23:51 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 5 Jan 2004 23:51:34 +0000 (23:51 +0000)
commit08e851c7417d52a86e31982fcfce695c8a6360b7
treece564fa68e9f109c559a585d198de042d37752d9
parent326becbde23c8039e1f0f00930bcab094bf91ed2
(merge from 3.0)

Fix for bug 707, getent group for huge ads groups (>1500 members)
This introduces range retrieval of ADS attributes.

VL rewrote most of Güther'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