diff -Nur e-smith-samba-2.4.0.old/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol e-smith-samba-2.4.0/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol --- e-smith-samba-2.4.0.old/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol 2018-05-02 12:52:52.784000000 -0400 +++ e-smith-samba-2.4.0/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol 2018-05-02 13:05:05.368000000 -0400 @@ -1,12 +1,12 @@ { # Normally this should not be set as the automatic negotiation phase in the SMB protocol takes care of choosing the appropiate protocol. $OUT = ""; - if ($smb{ClientMaxProtocol}) + if ($smb{ServerMinProtocol}) { - $OUT .= "client max protocol = $smb{ClientMaxProtocol}\n"; + $OUT .= "min protocol = $smb{ServerMinProtocol}\n"; } if ($smb{ServerMaxProtocol}) { - $OUT .= "server max protocol = $smb{ServerMaxProtocol}"; + $OUT .= "max protocol = $smb{ServerMaxProtocol}"; } }