smb.config

Type: object

Type: array
No Additional Items

SmbServiceEntry

Type: object
No Additional Properties

Id

Type: integer

Netbiosname

Type: string

Netbios name of this server

Netbiosalias

Type: array of string

Alternative netbios names of the server that will be announced via
netbios nameserver and registered in active directory when joined.

No Additional Items
Each item of this array must be:
Type: string

Workgroup

Type: string

Workgroup. When joined to active directory, this will be automatically
reconfigured to match the netbios domain of the AD domain.

Description

Type: string

Description of SMB server. May appear to clients during some operations.

Enable Smb1

Type: boolean

Enable SMB1 support for server. WARNING: using SMB1 protocol is not recommended

Unixcharset

Type: enum (of string)

Select characterset for file names on local filesystem. This should only be used
in cases where system administrator knows that the filenames are not UTF-8.

Must be one of:
  • "UTF-8"
  • "GB2312"
  • "HZ-GB-2312"
  • "CP1361"
  • "BIG5"
  • "BIG5HKSCS"
  • "CP037"
  • "CP273"
  • "CP424"
  • "CP437"
  • "CP500"
  • "CP775"
  • "CP850"
  • "CP852"
  • "CP855"
  • "CP857"
  • "CP858"
  • "CP860"
  • "CP861"
  • "CP862"
  • "CP863"
  • "CP864"
  • "CP865"
  • "CP866"
  • "CP869"
  • "CP932"
  • "CP949"
  • "CP950"
  • "CP1026"
  • "CP1125"
  • "CP1140"
  • "CP1250"
  • "CP1251"
  • "CP1252"
  • "CP1253"
  • "CP1254"
  • "CP1255"
  • "CP1256"
  • "CP1257"
  • "CP1258"
  • "EUC_JIS_2004"
  • "EUC_JISX0213"
  • "EUC_JP"
  • "EUC_KR"
  • "GB18030"
  • "GBK"
  • "HZ"
  • "ISO2022_JP"
  • "ISO2022_JP_1"
  • "ISO2022_JP_2"
  • "ISO2022_JP_2004"
  • "ISO2022_JP_3"
  • "ISO2022_JP_EXT"
  • "ISO2022_KR"
  • "ISO8859_1"
  • "ISO8859_2"
  • "ISO8859_3"
  • "ISO8859_4"
  • "ISO8859_5"
  • "ISO8859_6"
  • "ISO8859_7"
  • "ISO8859_8"
  • "ISO8859_9"
  • "ISO8859_10"
  • "ISO8859_11"
  • "ISO8859_13"
  • "ISO8859_14"
  • "ISO8859_15"
  • "ISO8859_16"
  • "JOHAB"
  • "KOI8_R"
  • "KZ1048"
  • "LATIN_1"
  • "MAC_CYRILLIC"
  • "MAC_GREEK"
  • "MAC_ICELAND"
  • "MAC_LATIN2"
  • "MAC_ROMAN"
  • "MAC_TURKISH"
  • "PTCP154"
  • "SHIFT_JIS"
  • "SHIFT_JIS_2004"
  • "SHIFT_JISX0213"
  • "TIS_620"
  • "UTF_16"
  • "UTF_16_BE"
  • "UTF_16_LE"

Localmaster

Type: boolean

Syslog

Type: boolean

Send log messages to syslog. This should be enabled if system administrator
wishes for SMB server error logs to be included in information sent to remote syslog
server if this is globally configured for TrueNAS.

Aapl Extensions

Type: boolean

Enable support for SMB2/3 AAPL protocol extensions. This changes the TrueNAS server
so that it is advertised as supporting Apple protocol extensions as a MacOS server, and
is required for Time Machine support.

Admin Group


The selected group will have full administrator privileges on TrueNAS over SMB protocol.

Type: string
Type: null

Guest

Type: string

Must be at least 1 characters long

Filemask


smb.conf create mask. DEFAULT applies current server default which is 664.

Type: string
Type: const
Must be one of:
  • "DEFAULT"
Specific value: "DEFAULT"

Dirmask


smb.conf directory mask. DEFAULT applies current server default which is 775.

Type: string
Type: const
Must be one of:
  • "DEFAULT"
Specific value: "DEFAULT"

Ntlmv1 Auth

Type: boolean

Enable legacy and very insecure NTLMv1 authentication. This should never be done except
in extreme edge cases and may be against regulations in non-home environments.

Multichannel

Type: boolean

Encryption

Type: enum (of string)
Must be one of:
  • "DEFAULT"
  • "NEGOTIATE"
  • "DESIRED"
  • "REQUIRED"

Bindip

Type: array of string
No Additional Items
Each item of this array must be:
Type: stringFormat: ipvanyinterface

Server Sid


Universally-unique identifier for this particular SMB server that serves as domain SID
for all local SMB user and group accounts

Type: string
Type: null

Smb Options

Type: string

Additional unvalidated and unsupported configuration options for the SMB server.
WARNING: using smb_options may produce unexpected server behavior.

Debug

Type: boolean

Set SMB log levels to debug. This should only be used when troubleshooting a specific SMB
issue and should not be used in production environments.



Required roles: SHARING_SMB_READ