Hide Forgot
Description of problem: nss_ldap-253-49 fails to bind when ldap.secret does not contain a newline. This appears to be due to work done on the configuration parser in nss_ldap-253-bigparse.patch between versions 253-42.el5_7.4 and 253-49. Version-Release number of selected component (if applicable): nss_ldap-253-49 Steps to Reproduce: 1. Create the contents of /etc/ldap.secret without a newline (echo -n PASSWORD > /etc/ldap.secret). Actual results: Operations against nss_ldap fail to bind to the ldap server. id: nss_ldap: could not search LDAP server - Server is unavailable Expected results: Previously working configurations should continue to work.
Thank you for the bug report. This is indeed a regression caused by the config parser.
*** Bug 806951 has been marked as a duplicate of this bug. ***
Created attachment 600285 [details] A proposed patch do_readline wasn't returning a proper return code when the last line did not contain a newline.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0085.html