diff -ruN e-smith-samba-2.2.0.old/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol e-smith-samba-2.2.0/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol --- e-smith-samba-2.2.0.old/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol 1969-12-31 16:00:00.000000000 -0800 +++ e-smith-samba-2.2.0/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol 2013-06-29 11:45:09.000000000 -0700 @@ -0,0 +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}) + { + $OUT .= "client max protocol = $smb{ClientMaxProtocol}\n"; + } + if ($smb{ServerMaxProtocol}) + { + $OUT .= "server max protocol = $smb{ServerMaxProtocol}"; + } +}