s3-libads: Use a reducing page size to try and cope with a slow LDAP server
authorAndrew Bartlett <abartlet@samba.org>
Fri, 18 May 2012 12:01:14 +0000 (22:01 +1000)
committerJeremy Allison <jra@samba.org>
Sat, 26 May 2012 00:03:08 +0000 (02:03 +0200)
commit0da10c842e06e98cf94482b654b87ff5991344ae
treefe55f0fb094ce6f6a44b59d4f292a959475be0ea
parentb9217a8c0032c10b898a4f1ca0ed8d38f39c39a1
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

Signed-off-by: Jeremy Allison <jra@samba.org>
source3/include/ads.h
source3/libads/ads_struct.c
source3/libads/ldap.c
source3/libads/ldap_utils.c