NISDOMAIN variable is not set without installing ypbind

Solution Verified - Updated -

Issue

We use Light-weight Directory Access Protocol (LDAP) to get netgroup information, instead of Network Information System (NIS). We do not want to install ypbind as we do not use NIS. However, the host's domain name (/proc/sys/kernel/domainname) specified by NISDOMAIN in /etc/sysconfig/network is loaded only by the ypbind init script.
We need to get NISDOMAIN set even when ypbind is not installed.

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

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.