From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 09/54] samba: Remove any options left to default value in global section Date: Tue, 13 Oct 2020 16:07:27 +0000 Message-ID: <20201013160812.27754-9-michael.tremer@ipfire.org> In-Reply-To: <20201013160812.27754-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4775702698283194133==" List-Id: --===============4775702698283194133== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: Michael Tremer --- config/samba/default.global | 17 +---------------- html/cgi-bin/samba.cgi | 8 +------- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/config/samba/default.global b/config/samba/default.global index 30587e47a..05d09a9a2 100644 --- a/config/samba/default.global +++ b/config/samba/default.global @@ -6,14 +6,9 @@ server string = Samba workgroup = homeip.net passdb backend = smbpasswd -keep alive = 30 os level = 33 -fstype = NTFS -kernel oplocks = false map to guest = bad user -smb ports = 445 139 -unix charset = CP850 security = user guest account = samba @@ -21,16 +16,6 @@ unix password sync = false bind interfaces only = true interfaces = green0 127.0.0.1 -socket options = TCP_NODELAY SO_KEEPALIVE -username level = 1 -wins support = true - -log file = /var/log/samba/samba-log.%m -lock directory = /var/lock/samba -pid directory = /var/run/ +log file = /var/log/samba/samba-log.%m log level = 3 passdb:5 auth:5 winbind:2 - -preferred master = false -domain master = false -local master = false diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi index fd43afd17..07665e8f1 100644 --- a/html/cgi-bin/samba.cgi +++ b/html/cgi-bin/samba.cgi @@ -283,13 +283,9 @@ if ($sambasettings{'SMB2'} eq 'on'){ } print FILE <