param: auto generate param_functions.c at build time
[Samba.git] / docs-xml / smbdotconf / protocol / smb2maxread.xml
blob045e7d95b42b9a27922704b8a4b0f1c2a9e9e531
1 <samba:parameter name="smb2 max read"
2                 type="integer"
3                 context="G"
4                 advanced="1" developer="1"
5                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <description>
7 <para>This option specifies the protocol value that <citerefentry><refentrytitle>smbd</refentrytitle>
8 <manvolnum>8</manvolnum></citerefentry> will return to a client, informing the client of the largest
9 size that may be returned by a single SMB2 read call.
10 </para>
11 <para>The maximum is 1048576 bytes (1MiB), which is the same as a Windows Server 2008 r2.</para>
12 <para>Please note that the default is 1MiB, but it's limit is based on the
13 smb2 dialect (64KiB for SMB2.0, 1MiB for SMB2.1 with LargeMTU).
14 Large MTU is not supported over NBT (tcp port 139).</para>
15 </description>
17 <related>smb2 max write</related>
18 <related>smb2 max trans</related>
19 <value type="default">1048576</value>
20 </samba:parameter>