cifs: fix ntlmssp auth when there is no key exchange
authorPaulo Alcantara <pc@cjr.nz>
Wed, 8 Dec 2021 01:51:04 +0000 (22:51 -0300)
committerSteve French <stfrench@microsoft.com>
Wed, 8 Dec 2021 22:48:43 +0000 (16:48 -0600)
commit9de0737d5ba0425c3154d5d83da12a8fa8595c0f
treee09fcb74bc8059aa2cf88889fb2d531cb655b00b
parent51a08bdeca27988a17c87b87d8e64ffecbd2a172
cifs: fix ntlmssp auth when there is no key exchange

Warn on the lack of key exchange during NTLMSSP authentication rather
than aborting it as there are some servers that do not set it in
CHALLENGE message.

Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/sess.c