PAM_LDAP error trying to bind ?
Posted
by billyduc
on Server Fault
See other posts from Server Fault
or by billyduc
Published on 2009-12-18T03:34:45Z
Indexed on
2010/03/23
9:03 UTC
Read the original article
Hit count: 614
ldap
I have this error when I ssh to my LDAP client using the login name on the LDAP server my LDAP client's running Ubuntu 9.10 Karmic my LDAP server is Fedora Core 4 and running Fedora Directory Server
ssh [email protected]
cat /var/log/auth.log //on the client
Dec 18 10:24:17 ubuntu-ltsp sshd[4527]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=billyhost.local user=billyduc
Dec 18 10:24:17 ubuntu-ltsp sshd[4527]: pam_ldap: error trying to bind as user "uid=billyduc,dc=mydomain,dc=com" (Invalid credentials)
Dec 18 10:24:18 ubuntu-ltsp sshd[4527]: Failed password for billyduc from 192.168.5.121 port 51449 ssh2
Here's my /etc/pam.d/sshd
cat /etc/pam.d/sshd
auth [success=1 default=ignore] pam_unix.so
auth required pam_ldap.so use_first_pass
auth required pam_permit.so
account sufficient pam_permit.so
I also edit my /etc/ssh/sshd_config in both client and Server
PasswordAuthentication yes
So I think something wrong with the password when the ssh server do checking
© Server Fault or respective owner