[RHEL4] Unable to ssh to the server using LDAP credentials
Issue
- Unable to
sshto the server when using LDAP credentials - The following errors are seen in
/var/log/secure/:
Feb 17 15:49:26 server01 sshd[30952]: PAM [dlerror: /lib64/security/system-auth: cannot open shared object file: No such file or directory]
Feb 17 15:49:26 server01 sshd[30952]: PAM adding faulty module: /lib64/security/system-auth
Feb 17 15:49:26 server01 sshd[30952]: PAM pam_parse: expecting return value; [...include]
Feb 17 15:49:26 server01 last message repeated 2 times
Feb 17 15:49:26 server01 sshd[30952]: debug1: PAM: setting PAM_RHOST to "1.2.3.4"
Feb 17 15:49:26 server01 sshd[30952]: debug1: PAM: setting PAM_TTY to "ssh"
Feb 17 15:49:28 server01 sshd[30966]: debug1: userauth-request for user exampleuser service ssh-connection method password
Feb 17 15:49:28 server01 sshd[30966]: debug1: attempt 1 failures 1
Feb 17 15:49:28 server01 sshd[30952]: debug1: PAM: password authentication failed for exampleuser: Module is unknown
Feb 17 15:49:28 server01 sshd[30952]: Failed password for exampleuser from ::ffff:1.2.3.4 port 44140 ssh2
- Retrieving users credentials using
getent passwdreturns the list normally.
Environment
- Red Hat Enterprise Linux 4
- LDAP authentication
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.