Solaris Naming Administration Guide

How to Eliminate Local Server Preferences

Ending local preferences can mean one of three different things:

How to Switch from Local to Global Subnet Preferences

    Remove the machine's /var/nis/client_info file.


# rm /var/nis/client_info

This causes the machine to use the preferences specified for the machine's subnet in the domain's global client_info table.

How to Switch from Local to Machine-Specific Global Preferences

  1. Remove the machine's /var/nis/client_info file.


    # rm /var/nis/client_info
  2. Specify preferences for the machine in the global table using the -G and -C options.

    See "How to Set Global Preferences for an Individual Machine ".

How to Stop a Machine from Using Any Server Preferences

  1. Remove the machine's /var/nis/client_info file.


    # rm /var/nis/client_info

    If the machine's domain does not have a global client_info table, this step is all you have to do. If the domain does have a client_info table, continue on to the next step.

  2. Create an empty /var/nis/client_info file.


    # touch /var/nis/client_info

    When a machine has its own /var/nis/client_info file, it does not use global preferences from any client_info table. If the machine has an empty /var/nis/client_info file, it will not use any preferences at all and will obtain NIS+ information as described in "Default Client Search Behavior".