1 |
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 |
2 |
--- e-smith-samba-2.4.0.old/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol 2018-05-02 12:52:52.784000000 -0400 |
3 |
+++ e-smith-samba-2.4.0/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol 2018-05-02 13:05:05.368000000 -0400 |
4 |
@@ -1,12 +1,12 @@ |
5 |
{ |
6 |
# Normally this should not be set as the automatic negotiation phase in the SMB protocol takes care of choosing the appropiate protocol. |
7 |
$OUT = ""; |
8 |
- if ($smb{ClientMaxProtocol}) |
9 |
+ if ($smb{ServerMinProtocol}) |
10 |
{ |
11 |
- $OUT .= "client max protocol = $smb{ClientMaxProtocol}\n"; |
12 |
+ $OUT .= "min protocol = $smb{ServerMinProtocol}\n"; |
13 |
} |
14 |
if ($smb{ServerMaxProtocol}) |
15 |
{ |
16 |
- $OUT .= "server max protocol = $smb{ServerMaxProtocol}"; |
17 |
+ $OUT .= "max protocol = $smb{ServerMaxProtocol}"; |
18 |
} |
19 |
} |