mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
samba: default enable SMBv2.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -101,7 +101,7 @@ $sambasettings{'DISPLAYCHARSET'} = 'CP850';
|
||||
$sambasettings{'SOCKETOPTIONS'} = 'TCP_NODELAY SO_RCVBUF=819200 SO_SNDBUF=819200 SO_KEEPALIVE';
|
||||
$sambasettings{'WIDELINKS'} = 'on';
|
||||
$sambasettings{'UNIXEXTENSION'} = 'off';
|
||||
$sambasettings{'SMB2'} = 'off';
|
||||
$sambasettings{'SMB2'} = 'on';
|
||||
### Values that have to be initialized
|
||||
$sambasettings{'ACTION'} = '';
|
||||
### Samba CUPS Variablen
|
||||
@@ -185,7 +185,7 @@ if ($sambasettings{'ACTION'} eq 'globalresetyes')
|
||||
$sambasettings{'SOCKETOPTIONS'} = 'TCP_NODELAY SO_RCVBUF=819200 SO_SNDBUF=819200 SO_KEEPALIVE';
|
||||
$sambasettings{'WIDELINKS'} = 'on';
|
||||
$sambasettings{'UNIXEXTENSION'} = 'off';
|
||||
$sambasettings{'SMB2'} = 'off';
|
||||
$sambasettings{'SMB2'} = 'on';
|
||||
$PDCOPTIONS = `cat ${General::swroot}/samba/pdc`;
|
||||
system("/usr/local/bin/sambactrl smbreload");
|
||||
refreshpage();
|
||||
|
||||
Reference in New Issue
Block a user