diff options
author | Steve French <smfrench@gmail.com> | 2017-09-17 10:41:35 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-09-17 23:10:48 -0500 |
commit | 9764c02fcbad40001fd3f63558d918e4d519bb75 (patch) | |
tree | 3e1634f695c3473d9fa6b9b4537da00a95be8d62 /fs/nfs/fscache.c | |
parent | ec11653b531099ddc08a8c7eb495ab83cae84e19 (diff) | |
download | linux-9764c02fcbad40001fd3f63558d918e4d519bb75.tar.bz2 |
SMB3: Add support for multidialect negotiate (SMB2.1 and later)
With the need to discourage use of less secure dialect, SMB1 (CIFS),
we temporarily upgraded the dialect to SMB3 in 4.13, but since there
are various servers which only support SMB2.1 (2.1 is more secure
than CIFS/SMB1) but not optimal for a default dialect - add support
for multidialect negotiation. cifs.ko will now request SMB2.1
or later (ie SMB2.1 or SMB3.0, SMB3.02) and the server will
pick the latest most secure one it can support.
In addition since we are sending multidialect negotiate, add
support for secure negotiate to validate that a man in the
middle didn't downgrade us.
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
CC: Stable <stable@vger.kernel.org> # 4.13+
Diffstat (limited to 'fs/nfs/fscache.c')
0 files changed, 0 insertions, 0 deletions