s3-libads: Use a reducing page size to try and cope with a slow LDAP server
commit179a71f78748c52aca73280cc35e2580d7f75416
authorAndrew Bartlett <abartlet@samba.org>
Fri, 18 May 2012 12:01:14 +0000 (18 22:01 +1000)
committerKarolin Seeger <kseeger@samba.org>
Sat, 30 Jun 2012 11:44:06 +0000 (30 13:44 +0200)
tree281be4d46c5e27e183b83ea78d8de643ab0de3e9
parentd63a8bd52709835ea063b8f0230f973540965397
s3-libads: Use a reducing page size to try and cope with a slow LDAP server

If we cannot get 1000 users downloaded in 15seconds, try with 500, 250
and then 125 users at a time.

Andrew Bartlett
(cherry picked from commit 8572ce0e5ff17bfe0df2823078119be9182a0378)
source3/include/ads.h
source3/libads/ads_struct.c
source3/libads/ldap.c
source3/libads/ldap_utils.c