From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 14/54] samba: Remove limitation that server only uses SMB2 Date: Tue, 13 Oct 2020 16:07:32 +0000 Message-ID: <20201013160812.27754-14-michael.tremer@ipfire.org> In-Reply-To: <20201013160812.27754-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1845210804513205654==" List-Id: --===============1845210804513205654== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Michael Tremer --- html/cgi-bin/samba.cgi | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi index 0beb24241..2e0ddc7f2 100644 --- a/html/cgi-bin/samba.cgi +++ b/html/cgi-bin/samba.cgi @@ -93,7 +93,6 @@ $sambasettings{'MAPTOGUEST'} =3D 'Bad User'; $sambasettings{'LOGLEVEL'} =3D '3 passdb:5 auth:5 winbind:2'; $sambasettings{'WIDELINKS'} =3D 'on'; $sambasettings{'UNIXEXTENSION'} =3D 'off'; -$sambasettings{'SMB2'} =3D 'on'; ### Values that have to be initialized $sambasettings{'ACTION'} =3D ''; ### Samba CUPS Variablen @@ -169,7 +168,6 @@ if ($sambasettings{'ACTION'} eq 'globalresetyes') $sambasettings{'PREFERREDMASTER'} =3D 'off'; $sambasettings{'WIDELINKS'} =3D 'on'; $sambasettings{'UNIXEXTENSION'} =3D 'off'; - $sambasettings{'SMB2'} =3D 'on'; $PDCOPTIONS =3D `cat ${General::swroot}/samba/pdc`; system("/usr/local/bin/sambactrl smbreload"); refreshpage(); @@ -267,14 +265,6 @@ passdb backend =3D smbpasswd =20 wide links =3D $sambasettings{'WIDELINKS'} unix extensions =3D $sambasettings{'UNIXEXTENSION'} -END -; - -if ($sambasettings{'SMB2'} eq 'on'){ - print FILE "max protocol =3D smb2\n"; -} - -print FILE < off Unix extensiono= n / off -SMB2 $Lang::tr{'protocol'}on / - off
$Lang:= :tr{'security options'} $Lang::tr{'security'}