lists.arthurdejong.org
RSS feed

Re: nslcd starts failing logins after about an hour.

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: nslcd starts failing logins after about an hour.



On Wed, 2011-05-11 at 15:43 -0600, Jason J. W. Williams wrote: 
> It looks like 0.7.13 fixes the problem. Now after an hour of downtime,
> the first login has a slight delay before it completes successfully (I
> assume the delay is the reconnection time). Subsequent logins are
> speedy.

If you have a network connection through a firewall it could be that the
connection is broken without the LDAP library noticing (or that the
server just closed the connection). This could also account for the
extra delay (nslcd doesn't detect broken connection that quickly).

To work around this you could use the idle_timelimit option in
nslcd.conf to close the connection once the timeout has expired. This
should ensure quicker reconnection.

-- 
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org --

-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users