CVE-2022-37966 selftest: Allow krb5 tests to run against an IP by using the target_ho...
authorAndrew Bartlett <abartlet@samba.org>
Mon, 31 Oct 2022 23:34:57 +0000 (12:34 +1300)
committerStefan Metzmacher <metze@samba.org>
Tue, 13 Dec 2022 13:07:29 +0000 (13:07 +0000)
commitc7cd6889177e8c705bb637172a60a5cf26734a3f
treecb623598d894f53b8742dc374204f0bfefc2fa06
parent0248907e34945153ff2be62dc11d75c956a05932
CVE-2022-37966 selftest: Allow krb5 tests to run against an IP by using the target_hostname binding string

This makes it easier to test against a server that is not accessible via DNS.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
python/samba/drs_utils.py
python/samba/tests/krb5/kdc_base_test.py