Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-03-02 22:17:03 +0100
committerArthur de Jong <arthur@arthurdejong.org>2007-03-02 22:17:03 +0100
commit03fdef7f5c7667fd92232f6d055f98833bcfef19 (patch)
treeac81742673ac0c7aa2a562629528f8e2dc6899f4 /nslcd
parente5635a785277c64046021b964a8a0e13048fccb2 (diff)
remove runtime checking for existance of /lib/init/rw/libnss-ldap.bind_policy_soft
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@264 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd')
-rw-r--r--nslcd/ldap-nss.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/nslcd/ldap-nss.c b/nslcd/ldap-nss.c
index 32359d7..f423d75 100644
--- a/nslcd/ldap-nss.c
+++ b/nslcd/ldap-nss.c
@@ -1750,16 +1750,6 @@ do_with_reconnect (const char *base, int scope,
if (nslcd_cfg->ldc_reconnect_pol == LP_RECONNECT_SOFT)
hard = 0;
- /*
- * If the file /lib/init/rw/libnss-ldap.bind_policy_soft exists,
- * then ignore the actual bind_policy definition and use the
- * soft semantics. This file should only exist during early
- * boot and late shutdown, points at which the networking or
- * the LDAP server itself are likely to be unavailable anyway.
- */
- if (access("/lib/init/rw/libnss-ldap.bind_policy_soft",R_OK) == 0)
- hard = 0;
-
++tries;
}
}