[source] samba36: Remove legacy options

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 14 09:44:55 PST 2017


jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/a37f8b0c6e92012277ba0f7c04ea6d2737544814

commit a37f8b0c6e92012277ba0f7c04ea6d2737544814
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Fri Jul 21 13:04:34 2017 -0700

    samba36: Remove legacy options
    
    Browseable is now set through LuCI per share, so remove it. Same with
    writeable (inverted synonym for read only). domain master and preferred
    master seem to be legacy settings for Windows 9x. encrypt passwords
    defaults to yes. Probably should not be disabled either.
    
    Also reordered alphabetically.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
    [rewrap commit message, fix SoB, fix author, bump pkg revsion]
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
    (cherry picked from commit 9dcb3fe7eb06b42c4f026e6cc5e89b2a18932782)
---
 package/network/services/samba36/files/smb.conf.template | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/package/network/services/samba36/files/smb.conf.template b/package/network/services/samba36/files/smb.conf.template
index 35e486f..c35d779 100644
--- a/package/network/services/samba36/files/smb.conf.template
+++ b/package/network/services/samba36/files/smb.conf.template
@@ -5,24 +5,19 @@
 	server string = |DESCRIPTION|
 	unix charset = |CHARSET|
 	workgroup = |WORKGROUP|
-	local master = no
-	browseable = yes
+	bind interfaces only = yes
 	deadtime = 30
-	domain master = yes
-	encrypt passwords = yes
 	enable core files = no
 	guest ok = yes
 	invalid users = root
 	load printers = no
+	local master = yes
 	map to guest = Bad User
 	max protocol = SMB2
 	min receivefile size = 16384
 	null passwords = yes
 	passdb backend = smbpasswd
-	preferred master = yes
 	security = user
 	smb passwd file = /etc/samba/smbpasswd
 	syslog = 2
 	use sendfile = yes
-	writeable = yes
-	bind interfaces only = yes



More information about the lede-commits mailing list