RHEL4 networking commands doing DNS lookups are segfaulting when LDAP is used to hold DNS records

Solution Verified - Updated -

Issue

Using OpenLDAP to hold DNS records and performing DNS lookups against the LDAP server:

# grep hosts /etc/nsswitch.conf
hosts:      files dns ldap

Commands that involve DNS lookups are segfaulting:

# hostname
linux851

# ping linux801
Segmentation fault

# ldapsearch -x
Segmentation fault

Environment

  • Red Hat Enterprise Linux 4.5
  • OpenLDAP being used to hold DNS records

  • nss_ldap-226-20

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.