Red Hat Bugzilla – Bug 161121
nss_ldap should strip newline from ldap.secret
Last modified: 2007-11-30 17:11:08 EST
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):
Steps to Reproduce:
1. Configure a rootbinddn with a ldap.secret
2. Try getent passwd
Only local entries are shown.
All entries, including those on the LDAP server, are shown.
This was fixed upstream in nss_ldap 235, closing because Raw Hide currently