summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/protocol/smb2maxread.xml
blob: 01f9583bd2ea5ba38ffb414d5e7ac90b9c9ec9ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<samba:parameter name="smb2 max read"
                 type="bytes"
                 context="G"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>This option specifies the protocol value that <citerefentry><refentrytitle>smbd</refentrytitle>
<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 8388608 bytes (8MiB), which is the same as a Windows Server 2012 r2.</para>
<para>Please note that the default is 8MiB, but it's limit is based on the
smb2 dialect (64KiB for SMB == 2.0, 8MiB for SMB >= 2.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">8388608</value>
</samba:parameter>