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