Cannot ssh or login to system using an ldap user via sssd in RHEL 6

Solution Unverified - Updated -


  • Red Hat Enterprise Linux (RHEL) 6
  • sssd
    • User information stored in LDAP
    • /etc/sssd.conf configured to access LDAP


Error during SSH login attempt

Following RHEL 6.1 install, can't login to SSH. Says that he configured the LDAP and got the config file set up. When he attempts to log in to SSH it will not authenticate in the window domain. Says that he receives an invalid user error


Ensure the sss method is configured for password, shadow, and group in /etc/nsswitch.conf. For example:

passwd:     files sss
shadow:     files sss
group:      files sss

Root Cause

The NSS login databases were not configured to pull information from sss.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.