Stop any running NIS service and remove all files from the /var/yp/binding directory. For example, run the following commands:
/sbin/service ypbind stop
rm -rf /var/yp/binding/*
Set the NIS domain name for the client to the zone name or NIS domain name of the computer where the adnisd process is running.
For example, if you have installed adnisd on a computer in the corpHQ zone:
Edit the NIS configuration file, /etc/yp.conf, to specify the Centrify zone and the name of the computer where adnisd is installed.
domain zonename server hostname
For example, add a line similar to this to /etc/yp.conf:
domain corpHQ server localhost
If your NIS clients are configured for broadcast discovery, this step may not be necessary.
Start the ypbind service.
On Red Hat Linux, run:
/sbin/service ypbind start
On Debian 3.1, run the nis script (controlled using the file /etc/default/nis). By default, the script starts the NIS client, ypbind. For example, run the following command:
One SuSE Linux 9.3 Professional, run:
Modify the passwd, group, and shadow lines in /etc/nsswitch.conf file to use compat as the source:
- Restart services that rely on the NIS domain, or reboot the computer to restart all services. The most common services to restart are autofs, NSCD, cron and sendmail.
last updated: Mar 12, 2021