Commands segfault when LDAP is before DNS and hostname is not in /etc/hosts on RHEL

Solution Verified - Updated -

Issue

  • Various commands segfault when LDAP is before DNS in nsswitch.conf and hostname is not in /etc/hosts

Environment

  • Red Hat Enterprise Linux (RHEL) 4, or 5

  • /etc/nssswitch.conf lists ldap before dns for hosts

``

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.