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.
Become superuser, assume an equivalent role, or use the “SMBFS 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.
Determine which properties you want to set.
For a description of the properties, see the nsmbrc(4) man page.
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