aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorneheb <rosenp@gmail.com>2016-07-01 20:02:17 -0700
committerJohn Crispin <john@phrozen.org>2016-07-05 22:59:14 +0200
commita3e7d5e7ae25ffb6fbae30fa6dc65fbc73d1297f (patch)
tree9aa78d3764d35c4c70f2e94bf30db8f6b000d3b3 /package
parentb9952797e63496817d60dda394949a91fbdaddd4 (diff)
downloadupstream-a3e7d5e7ae25ffb6fbae30fa6dc65fbc73d1297f.tar.gz
upstream-a3e7d5e7ae25ffb6fbae30fa6dc65fbc73d1297f.tar.bz2
upstream-a3e7d5e7ae25ffb6fbae30fa6dc65fbc73d1297f.zip
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>
Diffstat (limited to 'package')
-rw-r--r--package/network/services/samba36/files/smb.conf.template10
1 files changed, 2 insertions, 8 deletions
diff --git a/package/network/services/samba36/files/smb.conf.template b/package/network/services/samba36/files/smb.conf.template
index 38a385574b..7a996b8286 100644
--- a/package/network/services/samba36/files/smb.conf.template
+++ b/package/network/services/samba36/files/smb.conf.template
@@ -8,27 +8,21 @@
browseable = yes
deadtime = 30
domain master = yes
- encrypt passwords = true
+ encrypt passwords = yes
enable core files = no
- guest account = nobody
guest ok = yes
invalid users = root
- local master = yes
load printers = no
map to guest = Bad User
max protocol = SMB2
min receivefile size = 16384
null passwords = yes
- obey pam restrictions = yes
- os level = 20
passdb backend = smbpasswd
preferred master = yes
- printable = no
security = user
- smb encrypt = disabled
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY
syslog = 2
use sendfile = yes
writeable = yes
-
+ bind interfaces only = yes