diff options
author | Steve French <stfrench@microsoft.com> | 2020-12-09 22:19:00 -0600 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-12-13 19:12:07 -0600 |
commit | 7955f105afb6034af344038d663bc98809483cdd (patch) | |
tree | 880a5850ebfb4472e898b58998994c6e60b2d443 /fs/cifs/smb1ops.c | |
parent | 145024e3e4a32353420660ec689fb98c960ac3c8 (diff) | |
download | linux-rpi-7955f105afb6034af344038d663bc98809483cdd.tar.gz linux-rpi-7955f105afb6034af344038d663bc98809483cdd.tar.bz2 linux-rpi-7955f105afb6034af344038d663bc98809483cdd.zip |
SMB3.1.1: do not log warning message if server doesn't populate salt
In the negotiate protocol preauth context, the server is not required
to populate the salt (although it is done by most servers) so do
not warn on mount.
We retain the checks (warn) that the preauth context is the minimum
size and that the salt does not exceed DataLength of the SMB response.
Although we use the defaults in the case that the preauth context
response is invalid, these checks may be useful in the future
as servers add support for additional mechanisms.
CC: Stable <stable@vger.kernel.org>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb1ops.c')
0 files changed, 0 insertions, 0 deletions