From 0da10c842e06e98cf94482b654b87ff5991344ae Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 18 May 2012 22:01:14 +1000 Subject: 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 --- source3/include/ads.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include') diff --git a/source3/include/ads.h b/source3/include/ads.h index bbe8671f37..3d5fc3aae6 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -61,6 +61,7 @@ typedef struct ads_struct { time_t current_time; char *schema_path; char *config_path; + int ldap_page_size; } config; /* info about the current LDAP connection */ -- cgit