]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
First part of bugfix for bug #8335 - file copy aborts with smb2_validate_message_id...
authorJeremy Allison <jra@samba.org>
Fri, 29 Jul 2011 18:16:51 +0000 (11:16 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sun, 31 Jul 2011 19:11:41 +0000 (21:11 +0200)
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 680631c1c512de068320003495819c22a90b5ce8..807d3c975e6264f008594df3b74b6c2c69d20152 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