Bug 488857
| Summary: | nss_ldap bug causes nscd to crash with `ldap_result: Assertion `ld != ((void *)0)' failed.' | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | jos | ||||||
| Component: | nss_ldap | Assignee: | Nalin Dahyabhai <nalin> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | BaseOS QE <qe-baseos-auto> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | urgent | ||||||||
| Version: | 5.2 | CC: | akarlsso, jbastian, jplans, magnus, sturpin, syeghiay, tao | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 253-20.el5 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 566632 (view as bug list) | Environment: | |||||||
| Last Closed: | 2009-09-02 11:49:09 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 566632 | ||||||||
| Attachments: |
|
||||||||
|
Description
jos
2009-03-05 23:21:58 UTC
Created attachment 334233 [details]
Patch to ldap-nss.c fixing issue
Please consider applying this patch; it fixes this problem for me.
Sorry, I spoke too soon. The attached patch causes any LDAP entries to be omitted, which is almost as bad as crashing. Further inspection of PADLs Bugzilla reveals two other bugs: http://bugzilla.padl.com/show_bug.cgi?id=322 http://bugzilla.padl.com/show_bug.cgi?id=375 which indicates that this problem is NOT solved upstream. Please consider shipping http://ch.tudelft.nl/~arthur/nss-ldapd/ in extras, because as it stands nss_ldap is unusable. I can verify this bug on RHEL 5.2 server and desktop using: nss_ldap-254-5.el5. nscd-2.5-18 This can be a major issue if you are administrating thousands of ldap clients and need to keep them from having persistent connections. A thought might be that setting: paranoia yes restart-interval 3600 in /etc/nscd.conf may solve this issue.. I'm going to try that out and see what happens. Setting paranoia yes restart-interval 3600 in /etc/nscd.conf didn't do the trick.. Actually, after some testing nscd started to crash at boot. Created attachment 343505 [details]
alternate patch
The most recent - alternate patch (id=343505) solves the issue for me. 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-2009-1379.html |