Browse Source

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 <[email protected]>
neheb 9 years ago
parent
commit
a3e7d5e7ae
1 changed files with 2 additions and 8 deletions
  1. 2 8
      package/network/services/samba36/files/smb.conf.template

+ 2 - 8
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