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)
committerVolker Lendecke <vl@samba.org>
Fri, 15 Jan 2021 07:26:29 +0000 (07:26 +0000)
commit0abb5ca6b96c843909dea56d5594e334547ae90f
tree1fc70f1be3dfb65bbe8199ad0c23f2cab2fe23c2
parentfdcdfceefdd3186ef0b70bb6e83dddc8f4c073db
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>
libcli/smb/smbXcli_base.c