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 = ""; |
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 |