From af6a845e433350b0669f2c1656b158e9605cdee9 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sat, 22 Dec 2007 20:52:33 +0000 Subject: reorder timing and reconnect options to be more logical and remove nss_ prefix from reconnect options git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@521 ef36b2f9-881f-0410-afb5-c4e39611909c --- nslcd/cfg.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'nslcd/cfg.h') diff --git a/nslcd/cfg.h b/nslcd/cfg.h index fa3bfda..f3e72d7 100644 --- a/nslcd/cfg.h +++ b/nslcd/cfg.h @@ -92,16 +92,22 @@ struct ldap_config int ldc_scope; /* dereference aliases/links */ int ldc_deref; - /* Chase referrals */ + /* chase referrals */ int ldc_referrals; - /* search timelimit */ - int ldc_timelimit; /* bind timelimit */ int ldc_bind_timelimit; /* reconnect policy */ enum ldap_reconnect_policy ldc_reconnect_pol; + /* search timelimit */ + int ldc_timelimit; /* idle timeout */ time_t ldc_idle_timelimit; + /* number of sleeping reconnect attempts */ + int ldc_reconnect_tries; + /* seconds to sleep; doubled until max */ + int ldc_reconnect_sleeptime; + /* maximum seconds to sleep */ + int ldc_reconnect_maxsleeptime; /* SSL enabled */ enum ldap_ssl_options ldc_ssl_on; /* SSL certificate path */ @@ -124,12 +130,6 @@ struct ldap_config int ldc_restart; /* set to a greater than 0 to enable handling of paged results with the specified size */ int ldc_pagesize; - /* number of sleeping reconnect attempts */ - int ldc_reconnect_tries; - /* seconds to sleep; doubled until max */ - int ldc_reconnect_sleeptime; - /* maximum seconds to sleep */ - int ldc_reconnect_maxsleeptime; /* LDAP debug level */ int ldc_debug; }; -- cgit v1.2.3