Solaris CIFS Administration Guide

ProcedureHow to Customize the Global Solaris CIFS Environment

You can customize the global Solaris CIFS environment by using the sharectl(1M) command. With the exception of the minauth property, globally set properties can be overridden by a value set in user's .nsmbrc file. The most secure value of the minauth property takes precedence over a less secure value set by the user or set in the global environment.

  1. Become superuser, assume an equivalent role, or use the “SMBFS Management” RBAC profile, which is part of the “File System Management” profile.


  2. Determine which properties you want to set.

    For a description of the properties, see the nsmbrc(4) man page.

  3. Set a property value for the global Solaris CIFS environment.

    # sharectl set [-h] [-p property=value] … smbfs

    For example, to specify a default workgroup name of SALES for the default section, type:

    # sharectl set -p section=default -p workgroup=SALES smbfs