Stop any running NIS service and remove all files in the /var/yp/binding directory. For example, run the following commands:
rm -rf /var/yp/binding/*
Edit the NIS configuration file, /etc/rc.config.d/namesvrs, to set the NIS_CLIENT to 1 and the NIS_DOMAIN to the name of the Centrify zone. For example:
Add the -ypset option to the YPBIND_OPTIONS variable and set the YPSET_ADDR variable to the IP address of the computer where adnisd is installed. For example:
This step is not required if you want to use the broadcast option to locate the server when you run the ypbind command.
Set the NIS domain name for the client to the zone name of the computer where the adnisd process is running.
Start the ypbind service. On HP-UX, you can start the service by running:
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, pwgrd, cron and sendmail.
last updated: Jun 04, 2021