Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/cfg.h
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-12-22 21:52:33 +0100
committerArthur de Jong <arthur@arthurdejong.org>2007-12-22 21:52:33 +0100
commitaf6a845e433350b0669f2c1656b158e9605cdee9 (patch)
tree3deefda1fc3832427c580147b2d6c7d2c8fe0648 /nslcd/cfg.h
parent6f848e74467a32e9515e5c24c95b28cb5201ff45 (diff)
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
Diffstat (limited to 'nslcd/cfg.h')
-rw-r--r--nslcd/cfg.h18
1 files changed, 9 insertions, 9 deletions
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;
};