NFS Services Administrator's Guide
Troubleshooting NFS Services
Common Problems with NIS
Chapter 8 309
If the client has no entry in the passwd database, issue the following
command on the NIS server to which the client is bound:
/usr/sbin/ypxfr passwd
This command transfers the passwd database from the NIS master
server to the server where you issue the command.
❏ If the user’s NIS client is bound to a slave server, make sure the slave
server is listed in the NIS master server’s ypservers database.
Follow these steps:
1. Issue the following command on the NIS client to determine
which server the client is bound to:
/usr/bin/ypwhich
2. Log into the NIS master server, and issue the following
command:
cd /var/yp/domainname
3. Issue the following command on the NIS master server to write
the contents of the ypservers database to a temporary file:
/usr/sbin/makedbm -u ypservers > tempfile
4. If the NIS slave server is not listed in tempfile, use a text editor
to add it, and then issue the following command to rebuild the
ypservers database:
/usr/sbin/makedbm tempfile ypservers
❏ If you are using NIS compat mode, make sure the NIS escape entry
in the /etc/passwd file on the client does not have an asterisk in the
password field. On HP systems, the NIS escape entry in the
/etc/passwd file should be
+::-2:60001:::