]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
samba.cgi: remove unsupported security = share
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 5 Oct 2020 20:17:03 +0000 (22:17 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Oct 2020 12:18:42 +0000 (12:18 +0000)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/samba.cgi

index 696cb1b70d40f2782a850dc1e77949bd4daf9f33..8f88bc728bd6491dafdea6cac2c2c0ea79b98e61 100644 (file)
@@ -78,7 +78,7 @@ $sambasettings{'WORKGRP'} = 'homeip.net';
 $sambasettings{'NETBIOSNAME'} = 'IPFire';
 $sambasettings{'SRVSTRING'} = 'Samba running on IPFire 2.x';
 $sambasettings{'INTERFACES'} = '';
-$sambasettings{'SECURITY'} = 'share';
+$sambasettings{'SECURITY'} = 'user';
 $sambasettings{'OSLEVEL'} = '33';
 $sambasettings{'GREEN'} = 'on';
 $sambasettings{'BLUE'} = 'off';
@@ -150,7 +150,7 @@ if ($sambasettings{'ACTION'} eq 'globalresetyes')
        $sambasettings{'NETBIOSNAME'} = 'IPFire';
        $sambasettings{'SRVSTRING'} = 'Samba running on IPFire 2.x';
        $sambasettings{'INTERFACES'} = '';
-       $sambasettings{'SECURITY'} = 'share';
+       $sambasettings{'SECURITY'} = 'user';
        $sambasettings{'OSLEVEL'} = '65';
        $sambasettings{'GREEN'} = 'on';
        $sambasettings{'BLUE'} = 'off';
@@ -535,7 +535,6 @@ print <<END
 <tr><td align='left'><br /></td><td></td></tr>
 <tr bgcolor='$color{'color20'}'><td colspan='2' align='left'><b>$Lang::tr{'security options'}</b></td></tr>
 <tr><td align='left' width='40%'>$Lang::tr{'security'}</td><td align='left'><select name='SECURITY' style="width: 165px">
-                                                                                                                                                               <option value='share' $selected{'SECURITY'}{'share'}>Share</option>
                                                                                                                                                                <option value='user' $selected{'SECURITY'}{'user'}>User</option>
                                                                                                                                                                <option value='domain' $selected{'SECURITY'}{'domain'}>Domain</option>
                                                                                                                                                                <option value='ADS' $selected{'SECURITY'}{'ADS'}>ADS</option>