Re: Slow ssh logins when running nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: Slow ssh logins when running nslcd
- From: Arthur de Jong <arthur [at] arthurdejong.org>
- To: Daniel Macdonald <D.R.MacDonald [at] salford.ac.uk>, "nss-pam-ldapd-users [at] lists.arthurdejong.org" <nss-pam-ldapd-users [at] lists.arthurdejong.org>
- Subject: Re: Slow ssh logins when running nslcd
- Date: Sun, 13 Feb 2022 12:20:17 +0100
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/ --