/[smeserver]/rpms/e-smith-samba/sme10/e-smith-samba-2.6.0-bz10963-bz10576-minprot-SMB2.patch
ViewVC logotype

Diff of /rpms/e-smith-samba/sme10/e-smith-samba-2.6.0-bz10963-bz10576-minprot-SMB2.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.3 by jpp, Wed Jun 24 03:45:25 2020 UTC Revision 1.4 by jpp, Sat Apr 17 01:32:00 2021 UTC
# Line 41  diff -Nur e-smith-samba-2.6.0.old/root/e Line 41  diff -Nur e-smith-samba-2.6.0.old/root/e
41  diff -Nur e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/smb.conf/11minProtocol e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/11minProtocol  diff -Nur e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/smb.conf/11minProtocol e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/11minProtocol
42  --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/smb.conf/11minProtocol       1969-12-31 19:00:00.000000000 -0500  --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/smb.conf/11minProtocol       1969-12-31 19:00:00.000000000 -0500
43  +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/11minProtocol   2020-06-23 13:57:34.819000000 -0400  +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/11minProtocol   2020-06-23 13:57:34.819000000 -0400
44  @@ -0,0 +1,24 @@  @@ -0,0 +1,16 @@
45  +{  +{
46  +# Normally this should not be set as the automatic negotiation phase in the SMB protocol takes care of choosing the appropiate protocol.  +# Normally this should not be set as the automatic negotiation phase in the SMB protocol takes care of choosing the appropiate protocol.
47  +    $OUT = "";  +    $OUT = "";
# Line 56  diff -Nur e-smith-samba-2.6.0.old/root/e Line 56  diff -Nur e-smith-samba-2.6.0.old/root/e
56  +    $OUT .= "client min protocol = $clientMinProt\n";  +    $OUT .= "client min protocol = $clientMinProt\n";
57  +    $OUT .= "server min protocol = $serverMinProt";  +    $OUT .= "server min protocol = $serverMinProt";
58  +  +
 +    if ($smb{ClientMinProtocol})  
 +    {  
 +        $OUT .= "client min protocol = $smb{ClientMinProtocol}\n";  
 +    }  
 +    if ($smb{ServerMinProtocol})  
 +    {  
 +        $OUT .= "server min protocol = $smb{ServerMinProtocol}";  
 +    }  
59  +}  +}
60  +  +
61  diff -Nur e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/smb.conf/11smbPorts e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/11smbPorts  diff -Nur e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/smb.conf/11smbPorts e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/11smbPorts


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed