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