Access denied for user test by PAM account configuration [preauth]

Solution Verified - Updated -

Issue

  • AD/LDAP users are not able to login.
Apr 16 17:17:26 test sshd[4964]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=localhost  user=user1
Apr 16 17:17:26 test sshd[4964]: pam_sss(sshd:auth): authentication success; logname= uid=0 euid=0 tty=ssh ruser= rhost=localhost user=user1
Apr 16 17:18:56 test sshd[4964]: Failed password for user1 from ::1 port 57618 ssh2
Apr 16 17:18:56 test sshd[4964]: fatal: Access denied for user user1 by PAM account configuration [preauth]

Environment

  • Red Hat Enterprise Linux 7
  • sssd-1.16.2-13.el7_6.5 or lower
  • Active Directory

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In