Apple Mac OS X Server Network Card User Manual


 
152 Chapter 9 Working with File Services
Changing SMB/CIFS Service Settings
You can change SMB/CIFS 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
List of SMB/CIFS Service Settings
Use the following parameters with the serveradmin tool to change settings for the
SMB/CIFS service.
Parameter Description
setting An SMB/CIFS service setting. To see a list of available settings, enter
$ sudo serveradmin settings smb
or see “List of SMB/CIFS Service Settings” on page 152.
value An appropriate value for the setting. For a list of values that
correspond to GUI controls in the Server Admin application, see
“List of SMB/CIFS Service Settings” on page 152.
Parameter (smb:) Description
adminCommands:homes Whether home folders are mounted automatically when
Windows users log in so you don’t have to set up individual
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.