lists.arthurdejong.org
RSS feed

Re: Slow ssh logins when running nslcd

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

Re: Slow ssh logins when running nslcd



On Thu, 2022-01-27 at 17:21 +0000, Daniel Macdonald wrote:

> If I stop the nslcd service, ssh logins to this server are instant
> (with keys) and the password prompt appears immediately if the user
> doesn't have a key configured however when nslcd is running ssh
> logins take about 20 seconds or longer. Authenticating against LDAP
> isn't slow either unless sshd is running.

What would be helpful in debugging this is the logs from the PAM stack
and from nslcd. You can specify a loglevel of debug in nslcd.conf to
get more detailed information but with a timeout I would expect an
error to be logged.

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