From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 15/54] samba: Drop support for WINS Date: Tue, 13 Oct 2020 16:07:33 +0000 Message-ID: <20201013160812.27754-15-michael.tremer@ipfire.org> In-Reply-To: <20201013160812.27754-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5946497813205836603==" List-Id: --===============5946497813205836603== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Michael Tremer --- html/cgi-bin/samba.cgi | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi index 2e0ddc7f2..4668cd253 100644 --- a/html/cgi-bin/samba.cgi +++ b/html/cgi-bin/samba.cgi @@ -82,8 +82,6 @@ $sambasettings{'GREEN'} =3D 'on'; $sambasettings{'BLUE'} =3D 'off'; $sambasettings{'ORANGE'} =3D 'off'; $sambasettings{'VPN'} =3D 'off'; -$sambasettings{'WINSSRV'} =3D ''; -$sambasettings{'WINSSUPPORT'} =3D 'on'; $sambasettings{'REMOTEANNOUNCE'} =3D ''; $sambasettings{'REMOTESYNC'} =3D ''; $sambasettings{'PASSWORDSYNC'} =3D 'off'; @@ -145,8 +143,6 @@ if ($sambasettings{'ACTION'} eq 'globalresetyes') $sambasettings{'BLUE'} =3D 'off'; $sambasettings{'ORANGE'} =3D 'off'; $sambasettings{'VPN'} =3D 'off'; - $sambasettings{'WINSSRV'} =3D ''; - $sambasettings{'WINSSUPPORT'} =3D 'on'; $sambasettings{'REMOTEANNOUNCE'} =3D ''; $sambasettings{'REMOTESYNC'} =3D ''; $sambasettings{'PASSWORDSYNC'} =3D 'off'; @@ -240,7 +236,6 @@ delete $sambasettings{'__CGI__'};delete $sambasettings{'x= '};delete $sambasetting &General::writehash("${General::swroot}/samba/settings", \%sambasettings); =20 if ($sambasettings{'PASSWORDSYNC'} eq 'on'){ $sambasettings{'PASSWORDSYNC'} = =3D "true";} else { $sambasettings{'PASSWORDSYNC'} =3D "false";} -if ($sambasettings{'WINSSUPPORT'} eq 'on'){ $sambasettings{'WINSSUPPORT'} = =3D "true";$sambasettings{'WINSSRV'} =3D "";} else { $sambasettings{'WINSSUPP= ORT'} =3D "false";} if ($sambasettings{'LOCALMASTER'} eq 'on'){ $sambasettings{'LOCALMASTER'} = =3D "true";} else { $sambasettings{'LOCALMASTER'} =3D "false";} if ($sambasettings{'DOMAINMASTER'} eq 'on'){ $sambasettings{'DOMAINMASTER'} = =3D "true";} else { $sambasettings{'DOMAINMASTER'} =3D "false";} if ($sambasettings{'PREFERREDMASTER'} eq 'on'){ $sambasettings{'PREFERREDMAS= TER'} =3D "true";} else { $sambasettings{'PREFERREDMASTER'} =3D "false";} @@ -278,9 +273,6 @@ interfaces =3D $sambasettings{'INTERFACES'} remote announce =3D $sambasettings{'REMOTEANNOUNCE'} remote browse sync =3D $sambasettings{'REMOTESYNC'} =20 -wins support =3D $sambasettings{'WINSSUPPORT'} -wins server =3D $sambasettings{'WINSSRV'} - winbind separator =3D + winbind uid =3D 10000-20000 winbind gid =3D 10000-20000 @@ -363,9 +355,6 @@ if ($message) { ############################################################################= ################################################ ########################################## Aktivieren von Checkboxen und Dro= pdowns ######################################### =20 -$checked{'WINSSUPPORT'}{'off'} =3D ''; -$checked{'WINSSUPPORT'}{'on'} =3D ''; -$checked{'WINSSUPPORT'}{$sambasettings{'WINSSUPPORT'}} =3D "checked=3D'check= ed'"; $checked{'PASSWORDSYNC'}{'off'} =3D ''; $checked{'PASSWORDSYNC'}{'on'} =3D ''; $checked{'PASSWORDSYNC'}{$sambasettings{'PASSWORDSYNC'}} =3D "checked=3D'che= cked'"; @@ -499,12 +488,6 @@ print <$Lang::tr{'remote browse sync'} END ; -if ($sambasettings{'WINSSUPPORT'} eq 'off') {print"$Lang::tr{'wins server'}<= /tr>";} - print <$Lang::tr{'wins support'}on / - off -END -; =20 if ($sambasettings{'SECURITY'} eq 'user') { --=20 2.20.1 --===============5946497813205836603==--