[LEDE-DEV] [PATCH 1/2] samba36: Remove guest ok since LuCI configures it.

Rosen Penev rosenp at gmail.com
Thu Aug 24 16:51:23 PDT 2017


guest ok is set per share and as such, don't override it. also, fix an error introduced in the last commit.

Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 package/network/services/samba36/files/smb.conf.template | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/network/services/samba36/files/smb.conf.template b/package/network/services/samba36/files/smb.conf.template
index c35d7792bd..47ec11699d 100644
--- a/package/network/services/samba36/files/smb.conf.template
+++ b/package/network/services/samba36/files/smb.conf.template
@@ -8,10 +8,9 @@
 	bind interfaces only = yes
 	deadtime = 30
 	enable core files = no
-	guest ok = yes
 	invalid users = root
 	load printers = no
-	local master = yes
+	local master = no
 	map to guest = Bad User
 	max protocol = SMB2
 	min receivefile size = 16384
-- 
2.13.5




More information about the Lede-dev mailing list