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.
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.3.
# domainname example.com
# svcadm enable network/nis/domain:default # svcadm enable network/nis/client:default