docs: smb.conf: fix max read/write/trans default values (bug #9871)
authorBjörn Baumbach <bb@sernet.de>
Wed, 8 May 2013 08:27:26 +0000 (10:27 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 16 May 2013 07:13:35 +0000 (09:13 +0200)
Commit 6d128aac119d948f0ecb0dcf6b400b4eb4027fe6 has increased the limit:
"s3:smb2_server increase defaults for read/write/trans sizes to 1MB"

Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri May 10 23:14:50 CEST 2013 on sn-devel-104
(cherry picked from commit 3b3b5b02555572e48a751ea19ef9dd771a3862da)

docs-xml/smbdotconf/protocol/smb2maxread.xml
docs-xml/smbdotconf/protocol/smb2maxtrans.xml
docs-xml/smbdotconf/protocol/smb2maxwrite.xml

index 266682164855b87fa669fce16c1f9248160f4bf1..045e7d95b42b9a27922704b8a4b0f1c2a9e9e531 100644 (file)
@@ -8,10 +8,13 @@
 <manvolnum>8</manvolnum></citerefentry> will return to a client, informing the client of the largest
 size that may be returned by a single SMB2 read call.
 </para>
-<para>The maximum is 65536 bytes (64KB), which is the same as a Windows Vista SMB2 server.</para>
+<para>The maximum is 1048576 bytes (1MiB), which is the same as a Windows Server 2008 r2.</para>
+<para>Please note that the default is 1MiB, but it's limit is based on the
+smb2 dialect (64KiB for SMB2.0, 1MiB for SMB2.1 with LargeMTU).
+Large MTU is not supported over NBT (tcp port 139).</para>
 </description>
 
 <related>smb2 max write</related>
 <related>smb2 max trans</related>
-<value type="default">65536</value>
+<value type="default">1048576</value>
 </samba:parameter>
index 1c01ccce05ff8ebcd08eeb6f7cbe8bf4c78fbf2c..d4d83b913a812dab351954cddd1f73114e614e40 100644 (file)
@@ -8,10 +8,13 @@
 <manvolnum>8</manvolnum></citerefentry> will return to a client, informing the client of the largest
 size of buffer that may be used in querying file meta-data via QUERY_INFO and related SMB2 calls.
 </para>
-<para>The maximum is 65536 bytes (64KB), which is the same as a Windows Vista SMB2 server.</para>
+<para>The maximum is 1048576 bytes (1MiB), which is the same as a Windows Server 2008 r2.</para>
+<para>Please note that the default is 1MiB, but it's limit is based on the
+smb2 dialect (64KiB for SMB2.0, 1MiB for SMB2.1 with LargeMTU).
+Large MTU is not supported over NBT (tcp port 139).</para>
 </description>
 
 <related>smb2 max read</related>
 <related>smb2 max write</related>
-<value type="default">65536</value>
+<value type="default">1048576</value>
 </samba:parameter>
index a302a94a1713e2a8a9408c8b28f97b76fa574ab4..1789bc6ece0f3914f6f4ac2ad5970c13031c3a91 100644 (file)
@@ -8,10 +8,13 @@
 <manvolnum>8</manvolnum></citerefentry> will return to a client, informing the client of the largest
 size that may be sent to the server by a single SMB2 write call.
 </para>
-<para>The maximum is 65536 bytes (64KB), which is the same as a Windows Vista SMB2 server.</para>
+<para>The maximum is 1048576 bytes (1MiB), which is the same as a Windows Server 2008 r2.</para>
+<para>Please note that the default is 1MiB, but it's limit is based on the
+smb2 dialect (64KiB for SMB2.0, 1MiB for SMB2.1 with LargeMTU).
+Large MTU is not supported over NBT (tcp port 139).</para>
 </description>
 
 <related>smb2 max read</related>
 <related>smb2 max trans</related>
-<value type="default">65536</value>
+<value type="default">1048576</value>
 </samba:parameter>