Viewing SMB Settings

To list all SMB service settings:

$ sudo serveradmin settings smb

To list a particular setting:

$ sudo serveradmin settings smb:setting

Parameter

Description

setting

An SMB service setting. To see a list of available settings, type

 

$ sudo serveradmin settings smb

 

or see “List of SMB Service Settings” on page 82.

 

 

To list a group of settings:

You can list a group of settings that have part of their names in common by typing only as much of the name as you want, stopping at a colon (:), and typing an asterisk

(*) as a wildcard for the remaining parts of the name. For example,

$ sudo serveradmin settings smb:adminCommands:*

Changing SMB Settings

You can change SMB service settings using the serveradmin command.

To change a setting:

$ sudo serveradmin settings smb:setting = value

Parameter

Description

setting

An SMB service setting. To see a list of available settings, type

 

$ sudo serveradmin settings smb

 

or see “List of SMB Service Settings” on page 82.

 

 

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 Service Settings” on page 82.

 

 

To change several settings:

$ sudo serveradmin settings

smb:setting = value

smb:setting = value

smb:setting = value

[...]

Control-D

Chapter 8 Working With File Services

81

Page 81
Image 81
Apple oxs Viewing SMB Settings, Changing SMB Settings, To list all SMB service settings, $ sudo serveradmin settings smb