Working With Oracle® Solaris 11.2 Directory and Naming Services: DNS and NIS

Exit Print View

Updated: July 2014
 
 

How to Configure an NIS Client in Broadcast Mode

This is the preferred method for establishing an NIS client.

When you start the nis/client service, the service runs the ypbind command, which searches the local subnet for an NIS server. If a subnet is found, ypbind binds to it. This search is referred to as broadcasting. If no NIS server exists on the client's local subnet, ypbind fails to bind and the client machine cannot obtain namespace data from the NIS service. See How to Configure an NIS Client Using Specific NIS Servers for instructions.

  1. Become an administrator.

    For more information about obtaining the appropriate rights to perform specific tasks, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Set the NIS domain name.
    # domainname
    
    example.com
  3. If needed, make changes to the name service switch.

    See Configuring the Name Service Switch.

  4. Start the NIS client services.
    # svcadm enable network/nis/domain
    # svcadm enable network/nis/client