|Skip Navigation Links|
|Exit Print View|
|System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP) Oracle Solaris 11 Express 11/10|
After NIS is running, you might need to create an NIS slave server that you did not include in the initial list given to ypinit.
To add an NIS slave server:
For more information, see How to Obtain Administrative Rights in System Administration Guide: Security Services.
# cd /var/yp/domainname
# makedbm -u ypservers >/tmp/temp_file
# makedbm /tmp/temp_file ypservers
makedbm then converts ypservers back into ndbm format.
slave3# makedbm -u ypservers
The makedbm command displays each entry in ypservers on your screen.
Note - If a machine name is not in ypservers, it will not receive updates to the map files because yppush consults this map for the list of slave servers.
For more information , see How to Obtain Administrative Rights in System Administration Guide: Security Services.
slave3# cd /var/yp slave3# ypinit -c slave3# svcadm enable network/nis/client
slave3# /usr/sbin/ypinit -s ypmaster
where ypmaster is the machine name of the existing NIS master server.
# svcadm disable network/nis/client
# svcadm enable network/nis/server