Description of problem: If the password in ldap.secret is terminated by a newline, this newline gets sent to the server causing the bind to fail. Since every operation in nss_ldap now uses the privileged bind all users are blocked from logging in. It's fairly common that editors add a trailing newline so nss_ldap really should handle this gracefully. Version-Release number of selected component (if applicable): 234-4 How reproducible: Every time. Steps to Reproduce: 1. Configure a rootbinddn with a ldap.secret 2. Try getent passwd Actual results: Only local entries are shown. Expected results: All entries, including those on the LDAP server, are shown.
This was fixed upstream in nss_ldap 235, closing because Raw Hide currently features nss_ldap-240-2.