tests/krb5: Allow specifying status code to be checked
commit36f8c7080a730a4ea1e4896a8d66408eb6eb4b7c
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 1 Sep 2021 07:26:43 +0000 (1 19:26 +1200)
committerStefan Metzmacher <metze@samba.org>
Wed, 27 Oct 2021 22:37:08 +0000 (27 22:37 +0000)
tree802e202c963b1387080f14f1a0f7438b13095ee6
parenta57391cf431a60606fc2d1625b766155cf54bfc9
tests/krb5: Allow specifying status code to be checked

This allows us to check the status code that may be sent in an error
reply to a TGS-REQ message.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit 4ba5e82ae53410ec9a0bc7d47b181a88c15d9387)
python/samba/tests/krb5/raw_testcase.py