libsmbclient SMB2 block size

Ross Lagerwall rosslagerwall at
Sat Aug 2 09:08:43 MDT 2014


While playing around with various block sizes used with libsmbclient, I
noticed the following behavior:
- when reading 2MB chunks, libsmbclient would request 64512 bytes and
  pipeline many of them at once.
- when forced to use SMB2 (against Win7 server), libsmbclient would use
  65536 byte requests and only send 1 at a time.

The latter behavior is in contrast to what I get when using smbclient
and forcing SMB2: smbclient requests two 1MiB requests concurrently.

Is this a bug?


Ross Lagerwall

More information about the samba-technical mailing list