The master settings seem to be compatibility settings for Windows
98 and below. guest ok conflicts with the current UCI setup where
it gets applied to directories as well. Unfortunately, the global
setting takes precedence and nullifies the local ones. encrypt
passwords defaults to yes. No reason to disable or keep it around.

Signed-off by: Rosen Penev <ros...@gmail.com>
---
 package/network/services/samba36/files/smb.conf.template | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/package/network/services/samba36/files/smb.conf.template 
b/package/network/services/samba36/files/smb.conf.template
index 35e486f..47271d9 100644
--- a/package/network/services/samba36/files/smb.conf.template
+++ b/package/network/services/samba36/files/smb.conf.template
@@ -8,10 +8,7 @@
        local master = no
        browseable = yes
        deadtime = 30
-       domain master = yes
-       encrypt passwords = yes
        enable core files = no
-       guest ok = yes
        invalid users = root
        load printers = no
        map to guest = Bad User
@@ -19,7 +16,6 @@
        min receivefile size = 16384
        null passwords = yes
        passdb backend = smbpasswd
-       preferred master = yes
        security = user
        smb passwd file = /etc/samba/smbpasswd
        syslog = 2
-- 
2.9.4


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

Reply via email to