Configuring NIS clients on AIX
To configure the NIS client on an AIX computer:
-
Stop any running NIS service and remove all files from the /var/yp/binding directory. For example, run:
stopsrc –s ypbind
If the computer is not already a NIS client, you can use the System Management Interface Tool (smit) and the mkclient command to add adnisd to the computer.
-
Open the /etc/rc.nfs file and verify that the startsrc command is configured to start the ypbind daemon:
if [ -x /usr/etc/ypbind ]; then
startsrc -s ypbind
fi -
Set the client’s NIS domain name to the zone name of the computer where adnisd is running. For example:
domainname zone_name
-
Start the ypbind service:
startsrc -s ypbind
- 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.
Note: The adnisd service is not supported in a workload partitioning (WPAR) environment (Ref: CS-30588c).