Configuring and Administering Network Components in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

How to Configure a NIS Client in Broadcast Mode

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

  1. Become an administrator.
  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 in Working With Oracle Solaris 11.2 Directory and Naming Services: DNS and NIS .

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