libcli/smb: Allow smb2cli_validate_negotiate_info_done() to ignore NT_STATUS_INVALID_...
authorJeremy Allison <jra@samba.org>
Wed, 6 Jan 2021 17:03:05 +0000 (09:03 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 18 Jan 2021 07:57:14 +0000 (07:57 +0000)
commita5efe54435337463bca6a6eccabf4792745ffdca
tree2fda9ecda8e3ad0c5abd05ceab688557cd511824
parent2f8b1fb8aec7274b33969922e2a329c2c26aca1f
libcli/smb: Allow smb2cli_validate_negotiate_info_done() to ignore NT_STATUS_INVALID_PARAMETER.

This can be returned from NetApp Ontap 7.3.7 SMB server
implementations. Now we have ensured smb2_signing_check_pdu()
cannot return NT_STATUS_INVALID_PARAMETER on a signing error
it's safe to check this error code here. Windows 10
clients ignore this error from the NetApp.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14607

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 0abb5ca6b96c843909dea56d5594e334547ae90f)
libcli/smb/smbXcli_base.c