JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Working With Naming and Directory Services in Oracle Solaris 11.1     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

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

How to Add a New 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)

Glossary

Index

Starting and Stopping NIS Services on an NIS Server

Now that the master maps are created, you can start the NIS daemons on the master server and begin service. When you enable the NIS service, the ypserv and ypbind daemons start on the server. When a client requests information from the server, ypserv is the daemon that responds to information requests from clients after looking them up in the NIS maps. The ypserv and ypbind daemons are administered as a unit.

The following are the three ways that the NIS service can be started or stopped on a server:

Starting the NIS Service Automatically

When the svc:/network/nis/server service is enabled, then the ypserv daemon is automatically started up at boot. See How to Set Up the Master Server for more information.

How to Enable the NIS Server Services Manually

When you use the svcadm command, the instance name is required only if you are running more than one instance of the service. For more information, see NIS and the Service Management Facility, or the svcadm(1M) man page.

  1. Become an administrator.

    For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.

  2. Start the required NIS server services.
    # svcadm enable network/nis/domain
    # svcadm enable network/nis/server

    Note - The NIS service can also be enabled by using the ypstart command although the svcadm command is preferred.


How to Disable the NIS Server Services

When you use the svcadm command, a specific instance name is required only if you are running more than one instance of the service. For more information, see NIS and the Service Management Facility, or the svcadm(1M) man page.

  1. Become an administrator.

    For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.

  2. Disable the required NIS server services.
    # svcadm disable network/nis/domain
    # svcadm disable network/nis/server

    Note - The NIS service can also be disabled using the ypstop command.


How to Refresh the NIS Server Service

This procedure explains how to refresh the NIS server services after a configuration change has been made.

When you use the svcadm command, a specific instance name is required only if you are running more than one instance of the service. For more information, see NIS and the Service Management Facility, or the svcadm(1M) man page.

  1. Become an administrator.

    For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services.

  2. Refresh the required NIS server services.
    # svcadm refresh network/nis/domain
    # svcadm refresh network/nis/server