Users not able to login when system is configured for sss authentication

Solution In Progress - Updated -

Issue

When a system is configured for sss authentication users are not able to login. You are seeing the errors below in /var/log/messages and /var/log/secure.

/var/log/messages

Jul 28 16:26:50 EXAMPLE id: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1: Can't contact LDAP server
Jul 28 16:26:50 EXAMPLE id: nss_ldap: reconnecting to LDAP server (sleeping 16 seconds)...
Jul 28 16:27:06 EXAMPLE id: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1: Can't contact LDAP server
Jul 28 16:27:06 EXAMPLE id: nss_ldap: reconnecting to LDAP server (sleeping 32 seconds)...
Jul 28 16:46:51 EXAMPLE crontab: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1: Can't contact LDAP server
Jul 28 16:46:51 EXAMPLE crontab: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1: Can't contact LDAP server

/var/log/secure

Jul 28 16:27:34 EXAMPLE sshd[5630]: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1: Can't contact LDAP server
Jul 28 16:27:34 EXAMPLE sshd[5630]: nss_ldap: reconnecting to LDAP server (sleeping 32 seconds)...
Jul 28 16:28:06 EXAMPLE sshd[5630]: nss_ldap: failed to bind to LDAP server ldap://127.0.0.1: Can't contact LDAP server
Jul 28 16:28:06 EXAMPLE sshd[5630]: nss_ldap: reconnecting to LDAP server (sleeping 64 seconds)...

Environment

  • RHEL
  • SSSD
  • NSS
  • PAM

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.