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)
committerKarolin Seeger <kseeger@samba.org>
Mon, 28 May 2012 19:28:46 +0000 (21:28 +0200)
commit0f58ea6c58d78c845aa3fda22c238f126620d226
treed9d71914c1580c9217bc560262146bdb39a392d7
parent483a01ea7f50227cb5328c52d8b71a2a31e7acea
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