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 7.2
  • SSSD
  • Active Directory
  • LDAP

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