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

ProcedureHow to Specify Preferred-Only Servers in NIS+

To specify that clients using a server list may only obtain NIS+ information from servers named in the list:

  1. Run nisprefadm with the -o pref_only option.


    #nisprefadm -L|-G -o pref_only

    Where:

    • -L|-G determines whether you are modifying a local or a domain-wide server list.

    • -o -pref_only specifies that clients can only obtain NIS+ information from servers on the list.


    Note –

    This option is ignored for domains that are not served by any preferred servers.


    For example, to specify in altair's local client_info file that altair must always use preferred servers and cannot use any server not on altair's preferred server list:


    altair# nisprefadm -L -o pref_only