summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2013-05-08 10:27:26 +0200
committerJeremy Allison <jra@samba.org>2013-05-10 23:14:50 +0200
commit3b3b5b02555572e48a751ea19ef9dd771a3862da (patch)
tree3ae0da26d6a9a019d29749a4eeb06c9d827dd74f
parent392b01f53c73e10c596a435040225766a188cda1 (diff)
downloadsamba-3b3b5b02555572e48a751ea19ef9dd771a3862da.tar.gz
samba-3b3b5b02555572e48a751ea19ef9dd771a3862da.tar.bz2
samba-3b3b5b02555572e48a751ea19ef9dd771a3862da.zip
docs: smb.conf: fix max read/write/trans default values (bug #9871)
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
-rw-r--r--docs-xml/smbdotconf/protocol/smb2maxread.xml7
-rw-r--r--docs-xml/smbdotconf/protocol/smb2maxtrans.xml7
-rw-r--r--docs-xml/smbdotconf/protocol/smb2maxwrite.xml7
3 files changed, 15 insertions, 6 deletions
diff --git a/docs-xml/smbdotconf/protocol/smb2maxread.xml b/docs-xml/smbdotconf/protocol/smb2maxread.xml
index 2666821648..045e7d95b4 100644
--- a/docs-xml/smbdotconf/protocol/smb2maxread.xml
+++ b/docs-xml/smbdotconf/protocol/smb2maxread.xml
@@ -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>
diff --git a/docs-xml/smbdotconf/protocol/smb2maxtrans.xml b/docs-xml/smbdotconf/protocol/smb2maxtrans.xml
index 1c01ccce05..d4d83b913a 100644
--- a/docs-xml/smbdotconf/protocol/smb2maxtrans.xml
+++ b/docs-xml/smbdotconf/protocol/smb2maxtrans.xml
@@ -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>
diff --git a/docs-xml/smbdotconf/protocol/smb2maxwrite.xml b/docs-xml/smbdotconf/protocol/smb2maxwrite.xml
index a302a94a17..1789bc6ece 100644
--- a/docs-xml/smbdotconf/protocol/smb2maxwrite.xml
+++ b/docs-xml/smbdotconf/protocol/smb2maxwrite.xml
@@ -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>