CVE-2022-37966 tests/krb5: Add 'etypes' parameter to _tgs_req()
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 26 Oct 2022 01:29:54 +0000 (14:29 +1300)
committerStefan Metzmacher <metze@samba.org>
Tue, 13 Dec 2022 23:48:48 +0000 (00:48 +0100)
commit92763515d9f0bb8ed56c721d752db1fb7a268407
tree076796bb7fd12b5cc7c306e0b52f687479b1aa3d
parentb4be18abf9b9f7ee3361a8a2841f8e700440ce42
CVE-2022-37966 tests/krb5: Add 'etypes' parameter to _tgs_req()

This lets us select the encryption types we claim to support in the
request body.

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 e0a91dddc4a6c70d7425c2c6836dcf2dd6d9a2de)
[jsutton@samba.org Adapted to 4.17 version of function taking different
 parameters]
python/samba/tests/krb5/kdc_tgs_tests.py