cat /usr/local/etc/smb4.conf # # SMB.CONF(5) The configuration file for the Samba suite # $FreeBSD$ # [global] dns proxy = No aio max threads = 2 max log size = 5120 load printers = No printing = bsd disable spoolss = Yes dos filemode = Yes kernel change notify = No directory name cache size = 0 nsupdate command = /usr/local/bin/samba-nsupdate -g unix charset = UTF-8 log level = 1 auth_json_audit:3@/var/log/samba4/auth_audit.log obey pam restrictions = False enable web service discovery = True username map = /usr/local/etc/smbusername.map username map cache time = 60 logging = file server min protocol = SMB2_02 unix extensions = No restrict anonymous = 2 server string = TrueNAS Server bind interfaces only = Yes netbios name = truenas netbios aliases = server role = standalone workgroup = WORKGROUP idmap config *: backend = tdb idmap config *: range = 90000001-100000000 registry shares = yes include = registry