JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Administration: Naming and Directory Services     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information


Part I About Naming and Directory Services

1.  Naming and Directory Services (Overview)

2.  Name Service Switch (Overview)

3.  Managing DNS (Tasks)

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)

Configuring NIS Task Map

Before You Begin Configuring NIS

NIS and the Service Management Facility

Planning Your NIS Domain

Identify Your NIS Servers and Clients

Preparing the Master Server

Source Files Directory

passwd Files and Namespace Security

How to Prepare Source Files for Conversion

Preparing /var/yp/Makefile

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

Setting Up NIS Slave Servers

Preparing a Slave Server

How to Set Up a Slave Server

How to Start NIS on a Slave Server

Administering NIS Clients

How to Configure an NIS Client in Broadcast Mode

How to Configure an NIS Client Using Specific NIS Servers

Disabling the NIS Client Services

7.  Administering NIS (Tasks)

8.  NIS Troubleshooting

Part III LDAP Naming 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)

15.  Transitioning From NIS to LDAP (Tasks)



Planning Your NIS Domain

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, you can also name your NIS domain If you wanted to divide into two NIS domains, for example, one for the sales department and the other for the manufacturing department, you could name one domain and the other domain

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 in the config/nodename property of the svc:/system/identity:node service. The machine's domain name is set in the config/domainname property of the svc:/network/nis/domain service. These properties are read at boot time. The contents are used by the uname -S and domainname commands, respectively.

Identify Your NIS Servers and Clients

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.