s3:rpc_client: require DCERPC_BIND_ACK_RESULT_ACCEPTANCE for the negotiated presentat...
commit713a8022573a1b917422d888e4bb901539d20a91
authorStefan Metzmacher <metze@samba.org>
Thu, 18 Apr 2024 23:17:46 +0000 (19 01:17 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 23 Apr 2024 16:23:38 +0000 (23 16:23 +0000)
treee19774f65df04d69eeab3a1fa62b1a11c66c77aa
parent6548ccb31bfefdfa5d4ddd14ced900c64a68224e
s3:rpc_client: require DCERPC_BIND_ACK_RESULT_ACCEPTANCE for the negotiated presentation context

We should fail if we didn't get DCERPC_BIND_ACK_RESULT_ACCEPTANCE.

It's also not needed to require a single array element.

We already checked above that we have at least one.

The next patch will all bind time feature negotiation
and that means we'll have 2 array elements...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_client/cli_pipe.c