AD users are unable to authenticate when NSLCD is used with SSSD
Issue
- AD users are unable to authenticate on system and following can be seen in
/var/log/secure
,
Jun 14 00:19:12 test sshd[24565]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=abc.example.com user=cpatil
Jun 14 00:19:12 test sshd[24565]: pam_sss(sshd:auth): authentication success; logname= uid=0 euid=0 tty=ssh ruser= rhost=abc.example.com user=cpatil
Jun 14 00:19:12 test sshd[24565]: pam_ldap(sshd:account): error reading from nslcd: Connection reset by peer
Jun 14 00:19:12 test sshd[24565]: Failed password for cpatil from 192.168.1.150 port 54325 ssh2
Jun 14 00:19:12 test sshd[24565]: fatal: Access denied for user cpatil by PAM account configuration [preauth]
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.