smb2 proto max request size...?

Stefan (metze) Metzmacher metze at samba.org
Wed Jun 15 04:16:22 MDT 2011


Hi Linda,

> ----
>     Then what do all these statements mean in the smb.conf manpage?
>     Is the man page (from the 3.6.0-rc2 manpage) inconsistent with the
> code that is being released?
> 
> -----
> 
> 
>       smb2 max credits (G)
> 
>           This option controls the maximum number of outstanding
> simultaneous
>           SMB2 operations that Samba tells the client it will allow.
> This is
>           similar to the max mux parameter for SMB1. You should never
> need to
>           set this parameter.
> 
>           The default is 128 credits, which is the same as a Windows SMB2
>           server.
> 
>           Default: smb2 max credits = 128
> 
>       smb2 max read (G)
> 
>           This option specifies the protocol value that smbd(8) will return
>           to a client, informing the client of the largest size that may be
>           returned by a single SMB2 read call.
> 
>           The default is 1048576 bytes (1MB), which is the same as a
> Windows7
>           SMB2 server.
> 
>           Default: smb2 max read = 1048576
> 
>       smb2 max trans (G)
> 
>           This option specifies the protocol value that smbd(8) 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.
> 
>           The default is 1048576 bytes (1MB), which is the same as a
> Windows7
>           SMB2 server.
> 
>           Default: smb2 max trans = 1048576
> 
>       smb2 max write (G)
> 
>           This option specifies the protocol value that smbd(8) 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.
> 
>           The default is 1048576 bytes (1MB), which is the same as a
> Windows7
>           SMB2 server.
> 
>           Default: smb2 max write = 1048576

We seem to offer more than windows client will use with SMB 2.002.
Regarding the credits SMB 2.002 only allows a single credit to be consumed
for each request.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110615/117db014/attachment.pgp>


More information about the samba-technical mailing list