s3-libads: Use a reducing page size to try and cope with a slow LDAP server
commit5093c24137a52ab7e6299924831751d167295311
authorAndrew Bartlett <abartlet@samba.org>
Fri, 18 May 2012 12:01:14 +0000 (18 22:01 +1000)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Jun 2012 19:49:20 +0000 (22 21:49 +0200)
tree85df1950c4c28acdcec53b6513e87c6b44fcebfa
parent94d1daa982a614cbcb4b6b07aa218f8d4d96f3e1
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 0f58ea6c58d78c845aa3fda22c238f126620d226)
source3/include/ads.h
source3/libads/ads_struct.c
source3/libads/ldap.c
source3/libads/ldap_utils.c