2021-12-16 19:37 GMT+09:00, Marcos Del Sol Vives <marcos@xxxxxxxx>: > According to the official Microsoft MS-SMB2 document section 3.3.5.4, this > flag should be used only for 3.0 and 3.0.2 dialects. Setting it for 3.1.1 > is a violation of the specification. > > This causes my Windows 10 client to detect an anomaly in the negotiation, > and disable encryption entirely despite being explicitly enabled in ksmbd, > causing all data transfers to go in plain text. > > Signed-off-by: Marcos Del Sol Vives <marcos@xxxxxxxx> > Cc: linux-kernel@xxxxxxxxxxxxxxx > Cc: Namjae Jeon <linkinjeon@xxxxxxxxxx> Acked-by: Namjae Jeon <linkinjeon@xxxxxxxxxx> Thanks!