--- rpms/e-smith-samba/sme10/e-smith-samba-2.6.0-bz10963-bz10576-minprot-SMB2.patch 2020/06/24 03:45:25 1.3 +++ rpms/e-smith-samba/sme10/e-smith-samba-2.6.0-bz10963-bz10576-minprot-SMB2.patch 2021/04/17 01:32:00 1.4 @@ -41,7 +41,7 @@ diff -Nur e-smith-samba-2.6.0.old/root/e 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 --- 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/root/etc/e-smith/templates/etc/smb.conf/11minProtocol 2020-06-23 13:57:34.819000000 -0400 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,16 @@ +{ +# Normally this should not be set as the automatic negotiation phase in the SMB protocol takes care of choosing the appropiate protocol. + $OUT = ""; @@ -56,14 +56,6 @@ diff -Nur e-smith-samba-2.6.0.old/root/e + $OUT .= "client min protocol = $clientMinProt\n"; + $OUT .= "server min protocol = $serverMinProt"; + -+ if ($smb{ClientMinProtocol}) -+ { -+ $OUT .= "client min protocol = $smb{ClientMinProtocol}\n"; -+ } -+ if ($smb{ServerMinProtocol}) -+ { -+ $OUT .= "server min protocol = $smb{ServerMinProtocol}"; -+ } +} + 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