This bug has been copied from bug #566632 and has been proposed to be backported to 4.8 z-stream (EUS).
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, enabling the "nss_connect_policy oneshot" option in the /etc/ldap.conf configuration file may have caused the "id <username>" command to exit with the following error message: ldap_result: Assertion `ld != ((void *)0)' failed. With this update, enabling "nss_connect_policy oneshot" works as expected, and running the id command no longer fails.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0538.html