nss-pam-ldapd commit: r1557 - nss-pam-ldapd/nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1557 - nss-pam-ldapd/nslcd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1557 - nss-pam-ldapd/nslcd
- Date: Wed, 30 Nov 2011 22:51:09 +0100 (CET)
Author: arthur
Date: Wed Nov 30 22:51:06 2011
New Revision: 1557
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1557&view=revision
Log:
ensure that /etc/nsswitch.conf is only loaded once after start-up
Modified:
nss-pam-ldapd/nslcd/passwd.c
Modified: nss-pam-ldapd/nslcd/passwd.c
==============================================================================
--- nss-pam-ldapd/nslcd/passwd.c Fri Nov 18 14:24:23 2011 (r1556)
+++ nss-pam-ldapd/nslcd/passwd.c Wed Nov 30 22:51:06 2011 (r1557)
@@ -424,8 +424,9 @@
{
if (cached_shadow_uses_ldap==CACHED_UNKNOWN)
{
- log_log(LOG_INFO,"(re)loading %s",NSSWITCH_FILE); /* FIXME: check if this
is correct */
+ log_log(LOG_INFO,"(re)loading %s",NSSWITCH_FILE);
cached_shadow_uses_ldap=nsswitch_db_uses_ldap(NSSWITCH_FILE,"shadow");
+ cached_shadow_lastcheck=time(NULL);
}
return cached_shadow_uses_ldap;
}
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r1557 - nss-pam-ldapd/nslcd,
Commits of the nss-pam-ldapd project