First part of bugfix for bug #8335 - file copy aborts with smb2_validate_message_id...
authorJeremy Allison <jra@samba.org>
Fri, 29 Jul 2011 03:22:45 +0000 (20:22 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 29 Jul 2011 17:18:12 +0000 (10:18 -0700)
Set default max credits to 8192 now this has been documented in the
SMB2 spec.

docs-xml/smbdotconf/protocol/smb2maxcredits.xml
source3/include/local.h

index 69d04f75d6561b79cc9112687055b6a2f21e4825..310b8989eaf755242772d044c12977da50c7b9bd 100644 (file)
@@ -8,7 +8,7 @@
 that Samba tells the client it will allow. This is similar to the <smbconfoption name="max mux"/>
 parameter for SMB1. You should never need to set this parameter.
 </para>
-<para>The default is 128 credits, which is the same as a Windows SMB2 server.</para>
+<para>The default is 8192 credits, which is the same as a Windows 2008R2 SMB2 server.</para>
 </description>
 
 <value type="default">128</value>
index 594f7003efda238e0ebdfec1dc3f73d2c72af281..d71a72c2e58aa2340571e4b6aff989162037beaa 100644 (file)
 #define DEFAULT_SMB2_MAX_READ (1024*1024)
 #define DEFAULT_SMB2_MAX_WRITE (1024*1024)
 #define DEFAULT_SMB2_MAX_TRANSACT (1024*1024)
-#define DEFAULT_SMB2_MAX_CREDITS 128
+#define DEFAULT_SMB2_MAX_CREDITS 8192
 #define DEFAULT_SMB2_MAX_CREDIT_BITMAP_FACTOR 2
 
 #endif