Active Directory User failed to login with Error: pam_sss(sshd:account): Access denied

Solution Verified - Updated -

Issue

  • Active Directory User failed to login with the following error:

    Mar  1 03:08:35 example sshd[32015]: pam_sss(sshd:auth): authentication success; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.x.x.x user=testuser
    Mar  1 03:08:35 example sshd[32015]: pam_sss(sshd:account): Access denied for user testuser: 6 (Permission denied)
    Mar  1 03:08:35 example sshd[32015]: Failed password for testuser from 10.96.60.8 port 58093 ssh2
    Mar  1 03:08:35 example sshd[32015]: fatal: Access denied for user testuser by PAM account configuration [preauth]
    

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • SSSD
  • Active Directory/IPA

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