From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 30/54] samba: Remove un-exported password sync option Date: Tue, 13 Oct 2020 16:07:48 +0000 Message-ID: <20201013160812.27754-30-michael.tremer@ipfire.org> In-Reply-To: <20201013160812.27754-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5852371623439322817==" List-Id: --===============5852371623439322817== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Michael Tremer --- html/cgi-bin/samba.cgi | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/html/cgi-bin/samba.cgi b/html/cgi-bin/samba.cgi index 5d0d95b38..b8ea18857 100644 --- a/html/cgi-bin/samba.cgi +++ b/html/cgi-bin/samba.cgi @@ -68,7 +68,6 @@ $sambasettings{'INTERFACES'} =3D ''; $sambasettings{'SECURITY'} =3D 'user'; $sambasettings{'REMOTEANNOUNCE'} =3D ''; $sambasettings{'REMOTESYNC'} =3D ''; -$sambasettings{'PASSWORDSYNC'} =3D 'off'; $sambasettings{'GUESTACCOUNT'} =3D 'samba'; $sambasettings{'MAPTOGUEST'} =3D 'Bad User'; $sambasettings{'WIDELINKS'} =3D 'on'; @@ -123,7 +122,6 @@ if ($sambasettings{'ACTION'} eq $Lang::tr{'save'}) delete $sambasettings{'__CGI__'};delete $sambasettings{'x'};delete $sambaset= tings{'y'}; &General::writehash("${General::swroot}/samba/settings", \%sambasettings); =20 -if ($sambasettings{'PASSWORDSYNC'} eq 'on'){ $sambasettings{'PASSWORDSYNC'} = =3D "true";} else { $sambasettings{'PASSWORDSYNC'} =3D "false";} if ($sambasettings{'WIDELINKS'} eq 'on'){ $sambasettings{'WIDELINKS'} =3D "y= es";} else { $sambasettings{'WIDELINKS'} =3D "no";} if ($sambasettings{'UNIXEXTENSION'} eq 'on'){ $sambasettings{'UNIXEXTENSION'= } =3D "yes";} else { $sambasettings{'UNIXEXTENSION'} =3D "no";} =20 @@ -150,7 +148,7 @@ map to guest =3D $sambasettings{'MAPTOGUEST'} =20 security =3D $sambasettings{'SECURITY'} guest account =3D $sambasettings{'GUESTACCOUNT'} -unix password sync =3D $sambasettings{'PASSWORDSYNC'} +unix password sync =3D no =20 bind interfaces only =3D true interfaces =3D green0 blue0 127.0.0.0/8 @@ -208,9 +206,6 @@ if ($message) { ############################################################################= ################################################ ########################################## Aktivieren von Checkboxen und Dro= pdowns ######################################### =20 -$checked{'PASSWORDSYNC'}{'off'} =3D ''; -$checked{'PASSWORDSYNC'}{'on'} =3D ''; -$checked{'PASSWORDSYNC'}{$sambasettings{'PASSWORDSYNC'}} =3D "checked=3D'che= cked'"; $checked{'WIDELINKS'}{'off'} =3D ''; $checked{'WIDELINKS'}{'on'} =3D ''; $checked{'WIDELINKS'}{$sambasettings{'WIDELINKS'}} =3D "checked=3D'checked'"; @@ -284,11 +279,6 @@ print <Bad User -END -; -#$Lang::tr{'unix password sync'}on / -# off -print <
$Lang:= :tr{'network options'} $Lang::tr{'remote announce'} --=20 2.20.1 --===============5852371623439322817==--