Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Naming and Directory Services (NIS+) |
Part I About Naming and Directory Services
Part II NIS+ Setup and Configuration
4. Configuring NIS+ With Scripts
5. Setting Up the NIS+ Root Domain
8. Configuring an NIS+ Non-Root Domain
10. NIS+ Tables and Information
12. Administering NIS+ Credentials
14. Administering Enhanced NIS+ Security Credentials
15. Administering NIS+ Access Rights
16. Administering NIS+ Passwords
18. Administering NIS+ Directories
20. NIS+ Server Use Customization
Default NIS+ Client Search Behavior
Designating NIS+ Preferred Servers
NIS+ Global Table or Local File
Default NIS+ Server Preferences
Efficiency and NIS+ Server Preference Numbers
Preferred-Only NIS+ Servers and All Servers
When NIS+ Server Preferences Take Effect
Viewing NIS+ Machine Preferences
How to View Preferences for an NIS+ Server
How to View Preferences for an NIS+ Machine
How to View Global Preferences for an NIS+ Machine
How to View Global Preferences for an NIS+ Subnet
Specifying NIS+ Preference Rank Numbers
Specifying NIS+ Global Server Preferences
How to Set Global Preferences for an NIS+ Subnet
How to Set Global Preferences for an Individual NIS+ Machine
How to Set Global Preferences for a Remote NIS+ Domain
Specifying Local NIS+ Server Preference
How to Set Preferences on a Local NIS+ Machine
Modifying NIS+ Server Preferences
How to Change an NIS+ Server's Preference Number
How to Replace One NIS+ Server With Another in a Preference List
How to Remove NIS+ Servers From Preference Lists
Replacing an Entire Preferred Server List in NIS+
Ending Use of Server Preferences in NIS+
Eliminating Local Server Preferences in NIS+
How to Switch From Local to Global Subnet Preferences in NIS+
How to Switch From Local to Machine-Specific Global Preferences in NIS+
How to Stop a Machine From Using Any Server Preferences in NIS+
Putting NIS+ Server Preferences Into Immediate Effect
23. Information in NIS+ Tables
Common NIS+ Namespace Error Messages
You can specify what clients do when no preferred servers are available.
By default, if a client cannot reach a preferred server, it uses whatever other server it can find. You can specify that clients may only use preferred servers by setting the preferred-only option. See Preferred-Only NIS+ Servers and All Servers for background information on the preferred-only and all servers options.
To specify what clients do when no preferred servers are available, run nisprefadm with the -o value option.
To specify that clients using a server list may only obtain NIS+ information from servers named in the list:
#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
To specify that clients using a server list may obtain NIS+ information from servers not named in the list if no preferred servers are available:
#nisprefadm -L|-G -o all
Where:
-L|-G determines whether you are modifying a local or a domain-wide server list.
-o -all specifies that clients may obtain NIS+ information from servers not on the list if no preferred servers are available.
Note - This is the default behavior. You only need to use the -o all option if you have previously specified preferred-only servers with the -o pref_only option.
For example, to specify in altair's local client_info file that altair can now use non-preferred servers if no preferred servers can be reached:
altair# nisprefadm -L -o all