System Administration Guide: Naming and Directory Services (NIS+)

Populating the NIS+ Master Server Tables

Since this procedure is essentially the same as the procedure shown in How to Populate the NIS+ Root Master Server Tables, this example shows you only what you would type to populate the tables of the new sales.doc.com. domain. For more information about this procedure, see How to Populate the NIS+ Root Master Server Tables.


Note –

This script should be run on the new domain's master server, not the root master server.


The alternate methods of populating the master server tables on the new master server are:

The information that you need to gather depends upon whether you are populating from files or from NIS maps.

Whichever method you choose should be executed in a scrolling window as the script's output might otherwise scroll off the screen.

How to Populate the NIS+ Tables From Files

If populating from files, you need the following information.

To populate master server tables from files, type the following commands.


client2# nispopulate -F -p /nis+files -d sales.doc.com.
NIS+ domain name : sales.doc.com.
Directory Path : /nis+files
Is this information correct? (type 'y' to accept, 'n' to change

How to Populate the NIS+ Tables From NIS Maps

If populating from NIS maps, you need the following information.


Note –

The NIS domain name is case-sensitive, while the NIS+ domain name is not.


To populate master server tables from NIS maps, type the following commands.


client2# nispopulate -Y -d sales.doc.com. -h businessmachine -a 
IP_addr_of_NIS_server -y business.doc.com.
NIS+ Domain name : sales.doc.com.
NIS (YP) domain : business.doc.com.
NIS (YP) server hostname : businessmachine
Is this information correct? (type 'y' to accept, 'n' to change)

See How to Populate the NIS+ Root Master Server Tables for additional information.