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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content