samba: Update smb.conf.template

Removed some options which are default anyway and added bind interfaces
only which causes the interfaces line to actually have an effect. Can be
verified with netstat.

Signed-off by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
neheb 2016-07-01 20:02:17 -07:00 committed by John Crispin
parent b9952797e6
commit a3e7d5e7ae

View File

@ -8,27 +8,21 @@
browseable = yes browseable = yes
deadtime = 30 deadtime = 30
domain master = yes domain master = yes
encrypt passwords = true encrypt passwords = yes
enable core files = no enable core files = no
guest account = nobody
guest ok = yes guest ok = yes
invalid users = root invalid users = root
local master = yes
load printers = no load printers = no
map to guest = Bad User map to guest = Bad User
max protocol = SMB2 max protocol = SMB2
min receivefile size = 16384 min receivefile size = 16384
null passwords = yes null passwords = yes
obey pam restrictions = yes
os level = 20
passdb backend = smbpasswd passdb backend = smbpasswd
preferred master = yes preferred master = yes
printable = no
security = user security = user
smb encrypt = disabled
smb passwd file = /etc/samba/smbpasswd smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY socket options = TCP_NODELAY IPTOS_LOWDELAY
syslog = 2 syslog = 2
use sendfile = yes use sendfile = yes
writeable = yes writeable = yes
bind interfaces only = yes