System Administration Guide: IP Services

NIS+ Is Not Adequately Configured for DHCP Data Store

After you successfully use NIS+ with DHCP, you might encounter errors if changes are made to NIS+. The changes could introduce configuration problems. Use the following explanations of problems and solutions to help you determine the cause of configuration problems.

Problem:

Root object does not exist in the NIS+ domain.

Solution:

Type the following command:

/usr/lib/nis/nisstat

This command displays statistics for the domain. If the root object does not exist, no statistics are returned.

Set up the NIS+ domain using the System Administration Guide: Naming and Directory Services (NIS+).

Problem:

NIS+ is not used for passwd and publickey information.

Solution:

Type the following command to view the configuration file for the name service switch:

cat /etc/nsswitch.conf

Check the passwd and publickey entries for the “nisplus” keyword. Refer to the System Administration Guide: Naming and Directory Services (NIS+) for information about configuring the name service switch.

Problem:

The domain name is empty.

Solution:

Type the following command:

domainname

If the command lists an empty string, no domain name has been set for the domain. Use local files for your data store, or set up an NIS+ domain for your network. Refer to the System Administration Guide: Naming and Directory Services (NIS+).

Problem:

The NIS_COLD_START file does not exist.

Solution:

Type the following command on the server system to determine if the file exists:

cat /var/nis/NIS_COLD_START

Use local files for your data store, or create an NIS+ client. Refer to the System Administration Guide: Naming and Directory Services (NIS+).