From 03fdef7f5c7667fd92232f6d055f98833bcfef19 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 2 Mar 2007 21:17:03 +0000 Subject: 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 --- nslcd/ldap-nss.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'nslcd') 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; } } -- cgit v1.2.3