configuration-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 84  →  ?path2? @ 85
/samba/4/standalone/smb.conf
@@ -41,29 +41,37 @@
client use spnego = no
client ntlmv2 auth = no
 
# Samba modules.
vfs objects = catia fruit streams_xattr aio_linux
# Better compatibility with OSX.
ea support = yes
vfs objects = fruit streams_xattr
fruit:aapl = yes
fruit:encoding = native
fruit:locking = none
fruit:metadata = stream
fruit:resource = file
aio_linux:aio num events = 256
 
# Safe Tweaks
socket options=SO_RCVBUF=131072 SO_SNDBUF=131072 TCP_NODELAY IPTOS_LOWDELAY
### Tweaks
# Don't tweak Linux buffers: SO_RCVBUF=131072 SO_SNDBUF=131072
socket options=TCP_NODELAY IPTOS_THROUGHPUT SO_KEEPALIVE SO_BROADCAST
use sendfile = true
max xmit = 65535
max connections = 65535
max open files = 65535
min receivefile size = 16384
min receivefile size = 131072
# Requires aio_linux as last module in vfs_objects
aio read size = 16384
aio write size = 16384
write cache size = 262144
read raw = yes
write raw = yes
getwd cache = yes
dead time = 15
# Close connection on idle time (minutes).
# deadtime = 15
kernel oplocks = yes
server multi channel support = yes
# Logging
log file = /var/log/samba/log.%m
log level = 2
# 0 -> LOG_ERR, 1 -> LOG_WARNING, 2 -> LOG_NOTICE, 3 -> LOG_DEBUG
logging = syslog@3
 
# Include local settings.
include = /etc/samba/smb.conf.local