Messages in this thread | | | From | Namjae Jeon <> | Date | Thu, 16 Dec 2021 20:53:04 +0900 | Subject | Re: [PATCH v2] ksmbd: disable SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1 |
| |
2021-12-16 19:37 GMT+09:00, Marcos Del Sol Vives <marcos@orca.pet>: > 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@orca.pet> > Cc: linux-kernel@vger.kernel.org > Cc: Namjae Jeon <linkinjeon@kernel.org> Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Thanks!
| |