diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-05-18 22:01:14 +1000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-05-26 02:03:08 +0200 |
commit | 0da10c842e06e98cf94482b654b87ff5991344ae (patch) | |
tree | fe55f0fb094ce6f6a44b59d4f292a959475be0ea /source3/include | |
parent | b9217a8c0032c10b898a4f1ca0ed8d38f39c39a1 (diff) | |
download | samba-0da10c842e06e98cf94482b654b87ff5991344ae.tar.gz samba-0da10c842e06e98cf94482b654b87ff5991344ae.tar.bz2 samba-0da10c842e06e98cf94482b654b87ff5991344ae.zip |
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>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ads.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |