Solaris CIFS Administration Guide

Configuring the WINS Service

This section provides information about configuring the Solaris CIFS service as a client to the WINS service. For information about configuring other applicable services, see Configuring the Solaris CIFS Service – Process Overview.

ProcedureHow to Configure WINS

If you are integrating a Solaris CIFS service in an environment that has a WINS server, you can use Windows Internet Naming Service (WINS) for name resolution.

For information about excluding IP addresses from WINS resolution, see Excluding IP Addresses From WINS Name Resolution in the Solaris CIFS Service Troubleshooting wiki.

  1. Become superuser, assume an equivalent role, obtain the solaris.smf.value.smb and solaris.smf.manage.smb RBAC authorizations, or use the “SMB Management” RBAC profile, which is part of the “File System Management” profile.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services. To configure a role with the Primary Administrator profile, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

  2. Specify the IP address of the primary WINS server.

    The primary WINS server is the server consulted first for NetBIOS name resolution.


    # sharectl set -p wins_server_1=IP-address smb
    
  3. (Optional) Specify the IP address of the secondary WINS server.

    If the primary WINS server does not respond, the system consults the secondary WINS server to perform NetBIOS name resolution.


    # sharectl set -p wins_server_2=IP-address smb