[Samba] Defining OutputBufferLength for SMB2_FIND_BOTH_DIRECTORY_INFO

Ralph Boehme slow at samba.org
Wed Nov 19 08:32:12 UTC 2025


On 11/18/25 10:13 AM, Stefan Koehler via samba wrote:
> My question is: How can I increase the OutputBufferLength to 16 KB
> (or maybe even higher) to reduce the network round trips for the
> SMB2_FIND_BOTH_DIRECTORY_INFO requests? No matter if I have to set
> an option/parameter on server or client side.

I'm not aware of any way to influence this client choice and I'm a bit 
surprised that Win 10 uses such a small value in your case. Iirc I've 
seen Win 10 and even older Windows versions use values up to the 
protocol max on the wire.

-slow

-- 
Join us for the 25th sambaXP 2026 conference
April 20th & 21th, 2026 at Hotel Freizeit In
sponsored by TranquilIT & Microsoft & SerNet
Ticketing & more Info at https://sambaxp.org

SerNet Samba Team Lead  https://sernet.de/
Samba Team PLC          https://samba.org/
Support and Development https://samba.plus/services/
SAMBA+ packages         https://samba.plus/products/samba
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20251119/cc123f87/OpenPGP_signature.sig>


More information about the samba mailing list