samba: fix browsing and clean up smb.conf

This commit is contained in:
escalade 2016-10-18 09:57:44 +00:00
parent 1326516a78
commit 38cc38389d

View File

@ -27,18 +27,13 @@
security = share security = share
guest account = root guest account = root
socket options = TCP_NODELAY IPTOS_LOWDELAY socket options = TCP_NODELAY IPTOS_LOWDELAY
smb ports = 445
max protocol = SMB2 max protocol = SMB2
min receivefile size = 16384 min receivefile size = 16384
deadtime = 30 deadtime = 30
os level = 20
mangled names = no mangled names = no
syslog only = yes syslog only = yes
syslog = 2 syslog = 2
name resolve order = lmhosts wins bcast host name resolve order = host bcast wins
preferred master = auto
domain master = auto
local master = yes
printcap name = /dev/null printcap name = /dev/null
load printers = no load printers = no
browseable = yes browseable = yes
@ -49,6 +44,11 @@
passdb backend = smbpasswd passdb backend = smbpasswd
smb encrypt = disabled smb encrypt = disabled
use sendfile = yes use sendfile = yes
# The following are default values for the master selection process
# local master = yes
# preferred master = auto
# domain master = auto
# os level = 20
# Using the following configurations as a template allows you to add # Using the following configurations as a template allows you to add