smb client may use large read/write when it should not
The SMB client has some code that computes when it may use "large read/write" which predated clarifications in the MS-SMB spec. about when that capability should be used. See:
Since then, MS-SMB 18.104.22.168 has clarified that when SMB signing is enabled, the client should NOT use "large read/write" even though the server might offer those capabilities.
The current code disables large read/write with signing if the server looks like a Windows system, but that part of the check (is this windows) should be removed, so that the client always disables large read/write when signing is in use.
Updated by Electric Monk over 2 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 94667dd268e884f0b09201a938869bc98f5862bf Author: Gordon Ross <email@example.com> Date: 2018-03-04T01:51:22.000Z 4414 smb client may use large read/write when it should not Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>