CVE-2022-37966 tests/krb5: Split out _tgs_req() into base class
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 26 Oct 2022 01:26:01 +0000 (14:26 +1300)
committerStefan Metzmacher <metze@samba.org>
Wed, 14 Dec 2022 10:28:16 +0000 (10:28 +0000)
commitcc2bea27a640b43c4eed5846fb1bbd3e5ad5d0ad
tree3b363a9bea2f78a3b34a757906ca82dbdf2d1349
parent2408d405d31274a97b67baf04a36d58e50341050
CVE-2022-37966 tests/krb5: Split out _tgs_req() into base class

We will use it for testing our handling of encryption types.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(similar to commit 50e075d2db21e9f23d686684ea3df9454b6b560e)
[jsutton@samba.org Adapted to 4.17 version of function]
python/samba/tests/krb5/kdc_tgs_tests.py