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 <ros...@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


_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to