cifs: fix regression in very old smb1 mounts
authorRonnie Sahlberg <lsahlber@redhat.com>
Tue, 11 Oct 2022 23:12:07 +0000 (09:12 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2022 17:15:42 +0000 (18:15 +0100)
commitcfa8a89af9f22ae9641ced992b4fe3ec4e6f4f09
tree21b388a0bc194d32eebaa33a71b3aa6bbb6342a4
parent3189de0ac310c3ca6e8576e46f2ff7539e1ffc33
cifs: fix regression in very old smb1 mounts

commit 2f6f19c7aaad5005dc75298a413eb0243c5d312d upstream.

BZ: 215375

Fixes: 76a3c92ec9e0 ("cifs: remove support for NTLM and weaker authentication algorithms")
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/connect.c