/[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.1 by jpp, Tue Jun 23 18:03:14 2020 UTC Revision 1.3 by jpp, Wed Jun 24 03:45:25 2020 UTC
# Line 71  diff -Nur e-smith-samba-2.6.0.old/root/e Line 71  diff -Nur e-smith-samba-2.6.0.old/root/e
71  +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/11smbPorts      2020-06-23 13:57:48.232000000 -0400  +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/smb.conf/11smbPorts      2020-06-23 13:57:48.232000000 -0400
72  @@ -1,5 +1,7 @@  @@ -1,5 +1,7 @@
73   {   {
74      my $smb_ports = $smb{SMBPorts} || 139;  -   my $smb_ports = $smb{SMBPorts} || 139;
75    +   my $smb_ports = $smb{SMBPorts} || "139 445";
76    
77  +   $smb_ports = "$smb_ports 445" unless ( $smb_ports =~ /445/ || $ProtocolOrder{$serverMinProt} <= 5 );# $ProtocolOrder{$serverMinProt} > 5  +   $smb_ports = "$smb_ports 445" unless ( $smb_ports =~ /445/ || $ProtocolOrder{$serverMaxProt} <= 5 );
78  +  +
79      "smb ports = $smb_ports";      "smb ports = $smb_ports";
80   }   }


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