RHEL SMB client sends requests "SMB Read Request" which exceed the maximum limit of 60K

Solution Verified - Updated -

Issue

  • Microsoft support pointed out this incorrect behaviour of the Linux CIFS client:

    • The SMB client (Linux) sends "SMB Read Request" which exceeds the maximum limit the File Server can accept of 60K:
    • 14253 -- 10.0.0.3 10.0.0.1 SMB 129 Read AndX Request, FID: 0x8043, 81920 bytes at offset 7315456
    • No data transferred:
    • 14259 -- 10.0.0.1 10.0.0.3 SMB 129 Read AndX Response, FID: 0x8043, 0 bytes
  • RHEL CIFS client does reads larger than 60k to Windows servers with CAP_LARGE_READX

Environment

  • Red Hat Enterprise Linux 5 (CIFS client)
  • Windows (Samba server) supporting CAP_LARGE_READX
    (Registry key HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\disablelargeread)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.