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, 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