Skip Navigation Links | |
Exit Print View | |
Working With Naming and Directory Services in Oracle Solaris 11.1 Oracle Solaris 11.1 Information Library |
Part I About Naming and Directory Services
1. Naming and Directory Services (Overview)
2. Name Service Switch (Overview)
4. Setting Up Oracle Solaris Active Directory Clients (Tasks)
Part II NIS Setup and Administration
5. Network Information Service (Overview)
6. Setting Up and Configuring NIS (Tasks)
Before You Begin Configuring NIS
NIS and the Service Management Facility
passwd Files and Namespace Security
How to Prepare Source Files for Conversion
How to Install the NIS Master Server Package
How to Set Up the Master Server
How to Support Multiple NIS Domains on One Master Server
Starting and Stopping NIS Services on an NIS Server
Starting the NIS Service Automatically
How to Enable the NIS Server Services Manually
How to Disable the NIS Server Services
How to Refresh the NIS Server Service
How to Start NIS on a Slave Server
How to Configure an NIS Client in Broadcast Mode
How to Configure an NIS Client Using Specific NIS Servers
Disabling the NIS Client Services
9. Introduction to LDAP Naming Services (Overview)
10. Planning Requirements for LDAP Naming Services (Tasks)
11. Setting Up Oracle Directory Server Enterprise Edition With LDAP Clients (Tasks)
12. Setting Up LDAP Clients (Tasks)
13. LDAP Troubleshooting (Reference)
14. LDAP Naming Service (Reference)
Before you configure machines as NIS servers or clients, you must plan the NIS domain.
Decide which machines will be in your NIS domain. An NIS domain does not have to mirror your DNS domain. A DNS domain can have more than one NIS domain, and machines can exist in your DNS domain that are outside of your NIS domain.
An NIS domain name can be 256 characters long. A good practice is to limit domain names to no more than 32 characters. NIS domain names are case-sensitive. For convenience, you can choose to use your Internet domain name as the basis for your NIS domain name. Be aware that users might become confused if the NIS domain name includes capitals, but the DNS domain name does not. For example, if your Internet domain name is example.com, you can also name your NIS domain example.com. If you wanted to divide example.com into two NIS domains, for example, one for the sales department and the other for the manufacturing department, you could name one domain sales.example.com and the other domain manf.example.com.
Note - Merging and administering split NIS domains can be very difficult, so ensure that you have a good reason to split an NIS domain.
Before a machine can use NIS services, the correct NIS domain name and machine name must be set. A machine's name is set by the hostname command. The machine's domain name is set by the domainname command. The hostname and domainname commands can be used to display the machine name and the NIS domain name.
Select one machine to be the master server. Decide which machines will be slave servers.
Decide which machines will be NIS clients. Typically, all machines in your NIS domain are set to be NIS clients, although this is not necessary.