summaryrefslogtreecommitdiff
path: root/nslcd/myldap.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2012-12-30 14:14:34 +0000
committerArthur de Jong <arthur@arthurdejong.org>2012-12-30 14:14:34 +0000
commit29c1800b82980207bde4c4a61d489ace25dcb2d4 (patch)
tree32becaf13829c0f70938945f3279ef703c677bb1 /nslcd/myldap.c
parentb5155616d79c27928e07c6596750dff6d7726564 (diff)
remove undocumented restart configuration option
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1889 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/myldap.c')
-rw-r--r--nslcd/myldap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/nslcd/myldap.c b/nslcd/myldap.c
index c6ce0dc..39bdbe7 100644
--- a/nslcd/myldap.c
+++ b/nslcd/myldap.c
@@ -670,10 +670,8 @@ static int do_set_options(MYLDAP_SESSION *session)
nslcd_cfg->referrals ? "LDAP_OPT_ON" : "LDAP_OPT_OFF");
LDAP_SET_OPTION(session->ld, LDAP_OPT_REFERRALS,
nslcd_cfg->referrals ? LDAP_OPT_ON : LDAP_OPT_OFF);
- log_log(LOG_DEBUG, "ldap_set_option(LDAP_OPT_RESTART,%s)",
- nslcd_cfg->restart ? "LDAP_OPT_ON" : "LDAP_OPT_OFF");
- LDAP_SET_OPTION(session->ld, LDAP_OPT_RESTART,
- nslcd_cfg->restart ? LDAP_OPT_ON : LDAP_OPT_OFF);
+ log_log(LOG_DEBUG, "ldap_set_option(LDAP_OPT_RESTART,%s)", LDAP_OPT_ON);
+ LDAP_SET_OPTION(session->ld, LDAP_OPT_RESTART, LDAP_OPT_ON);
#ifdef LDAP_OPT_CONNECT_CB
/* register a connection callback */
cb.lc_add = connect_cb;