Created
August 5, 2020 10:31
-
-
Save dln/12137ae29e2e336a8d5f0a87406bfe94 to your computer and use it in GitHub Desktop.
Minimal samba config with some perf tunings for throughput
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
workgroup = WORKGROUP | |
log file = /var/log/samba/log.%m | |
max log size = 1000 | |
server role = standalone server | |
security = user | |
map to guest = Bad Password | |
server multi channel support = yes | |
load printers = no | |
printing = bsd | |
printcap name = /dev/null | |
disable spoolss = yes | |
show add printer wizard = no | |
disable netbios = yes | |
dns proxy = no | |
deadtime = 1800 | |
smb encrypt = off | |
socket options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_RCVBUF=131072 SO_SNDBUF=131072 SO_KEEPALIVE | |
min receivefile size = 16384 | |
use sendfile = yes | |
write cache size = 262144 | |
strict locking = no | |
aio read size = 16384 | |
aio write size = 16384 | |
use sendfile = yes | |
aio read size = 1 | |
aio write size = 1 | |
protocol = SMB3 | |
min protocol = smb2 | |
max protocol = smb3 | |
[Data] | |
path = /data | |
writeable = yes | |
browsable = yes | |
guest ok = yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment