60 lines
1.8 KiB
Markdown
Executable File
60 lines
1.8 KiB
Markdown
Executable File
# scott_smb_shares
|
|
|
|
```bash
|
|
#### exports
|
|
/mnt/data/media -alldirs -mapall="wettsten":"wettsten" -network 192.168.86.0/24
|
|
/mnt/data/backups -alldirs -mapall="root":"wheel" -network 192.168.86.0/24
|
|
/mnt/data/storage -alldirs -mapall="wettsten":"wettsten" -network 192.168.86.0/24
|
|
/mnt/data -alldirs -mapall="wettsten":"wettsten" -network 192.168.86.0/24
|
|
|
|
#### samba
|
|
##### Global parameters
|
|
[global]
|
|
aio max threads = 2
|
|
bind interfaces only = Yes
|
|
disable spoolss = Yes
|
|
dns proxy = No
|
|
enable web service discovery = Yes
|
|
kernel change notify = No
|
|
load printers = No
|
|
logging = file
|
|
max log size = 5120
|
|
nsupdate command = /usr/local/bin/samba-nsupdate -g
|
|
registry shares = Yes
|
|
restrict anonymous = 2
|
|
server multi channel support = No
|
|
server role = standalone server
|
|
server string = TrueNAS Server
|
|
unix extensions = No
|
|
idmap config *: range = 90000001-100000000
|
|
rpc_server:mdssvc = disabled
|
|
rpc_daemon:mdssd = disabled
|
|
idmap config * : backend = tdb
|
|
directory name cache size = 0
|
|
dos filemode = Yes
|
|
|
|
|
|
[Kids]
|
|
ea support = No
|
|
kernel share modes = No
|
|
path = /mnt/data/media/Kids
|
|
posix locking = No
|
|
read only = No
|
|
smbd max xattr size = 2097152
|
|
vfs objects = streams_xattr shadow_copy_zfs ixnas zfs_core aio_fbsd
|
|
nfs4:chown = true
|
|
ixnas:dosattrib_xattr = false
|
|
|
|
|
|
[data]
|
|
ea support = No
|
|
level2 oplocks = No
|
|
oplocks = No
|
|
path = /mnt/data
|
|
read only = No
|
|
smbd max xattr size = 2097152
|
|
strict locking = Yes
|
|
vfs objects = streams_xattr shadow_copy_zfs ixnas zfs_core aio_fbsd
|
|
nfs4:chown = true
|
|
ixnas:dosattrib_xattr = false
|
|
``` |