Specifications

Chapter 9 Working with File Services 157
Changing SMB Service Settings
You can change SMB service settings using the serveradmin tool.
To change a setting:
$ sudo serveradmin settings smb:
setting
=
value
To change several settings:
$ sudo serveradmin settings
smb:
setting
=
value
smb:
setting
=
value
smb:setting =
value
[...]
Control-D
Available SMB Service Settings
To change settings for the SMB service, use the following parameters with the
serveradmin tool.
Parameter Description
setting An SMB service setting. To view a list of available settings, enter
$ sudo serveradmin settings smb
or see “Available SMB Service Settings” on page 157.
value A value for the setting. For a list of values that correspond to GUI
controls in the Server Admin application, see “Available SMB
Service Settings on page 157.
Parameter (smb:) Description
adminCommands:homes Whether Home folders are mounted when Windows users log
in so you don’t need to set up share points for each user.
Can be set to:
yes | no
This corresponds to the “Enable virtual share points” checkbox
in the Advanced pane of Window service settings in the Server
Admin application.
adminCommands:serverRole The authentication role played by the server. Can be set to:
Â
"standalone"
 "domainmember"
 "primarydomaincontroller"
 "backupdomaincontroller"
This corresponds to the Role pop-up menu in the General
pane of Windows service settings in the Server Admin
application.