Unable to login as an AD or IPA user due to "4 (System error)" via SSSD on Red Hat Enterprise Linux.

Solution Verified - Updated -

Issue

  • Unable to log into user account with SSSD due to pam_sss sshd system error
  • Following errors can be seen in /var/log/secure log file during the failed login.
Mar 11 08:50:44 rheltest sshd[20896]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=example.com user=test
Mar 11 08:50:44 rheltest sshd[20896]: pam_sss(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=example.com user=test
Mar 11 08:50:44 rheltest sshd[20896]: pam_sss(sshd:auth): received for user test: 4 (System error)
Mar 11 08:50:46 rheltest sshd[20896]: Failed password for test from 10.x.x.x port 53832 ssh2

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Active Directory (AD)
  • Identity Management (IPA)
  • SSSD
  • pam_sss

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content