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>
Wed, 20 Jan 2021 09:26:13 +0000 (09:26 +0000)
commit5e64e53fe2f8b7e8c734e89abdabc85cfa6d4e95
treed2e0308b4cf7d7999d85445292037efa23fdfc52
parentbb951cd05c247d24adeb1d929a2b63333771e8d6
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