nslcd with sshd question
[Date Prev][Date Next] [Thread Prev][Thread Next]nslcd with sshd question
- From: Andrea Sighinolfi <andrea.sighinolfi [at] sitti.it>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nslcd with sshd question
- Date: Mon, 3 Jan 2022 11:10:10 +0100
Hi Arthur,
I need to use sshd on my device with a user that resides on a ldap server. I successfully configured nslcd to perform an authentication through an ldap user, in fact, if I do a lookup with an ldap bind (ldapsearch...) nslcd finds the remote ldap user.
Now, my goal is to use sshd server to authenticate with the ldap user. From an external PC, when I run:
ssh ldapUser@[device_ip_address],
the password check always fails. The syslog give the following error:
nslcd[139]: [e8944a] <passwd="ldapUser">
(re)loading /etc/nsswitch.conf
00:04:40 sshd[150]: Failed password for ldapUser from
192.168.8.240 port 37128 ssh2
From this log, I suppose nslcd is searching for the user in
passwd users, but the ldap user will never been found there
because passwd contains only local users, not remote ldap users. I
suppose this is the reason why the ssh authentication fails. Why
nslcd is not looking in ldap when trying to authenticate with ssh?
Am I doing something wrong here?
Thank you.
Andrea.
- nslcd with sshd question, Andrea Sighinolfi
- Re: nslcd with sshd question,
William MacAllister
- Re: nslcd with sshd question,
Andrea Sighinolfi
- Re: nslcd with sshd question,
Tim Rice
- Re: [EXTERNAL] Re: nslcd with sshd question, Zhou, Shouben (LARC-E302)[Science Systems & Applications, Inc.]
- Re: nslcd with sshd question,
Tim Rice
- Re: nslcd with sshd question,
Andrea Sighinolfi
- Next by Date: Re: nslcd with sshd question
- Next by thread: Re: nslcd with sshd question