tests/krb5: Include kdc_options in kdc_exchange_dict
commitc8f98ef1bf7f8fb3fc9eabfef36154bf3556a604
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 26 Jul 2021 22:35:40 +0000 (27 10:35 +1200)
committerJule Anger <janger@samba.org>
Wed, 8 Sep 2021 12:32:10 +0000 (8 12:32 +0000)
treede518340fc1474f1bfe64dbd21b505c4c07c7adb
parent2804451db0457872430cc4106b97d07fce5e25b2
tests/krb5: Include kdc_options in kdc_exchange_dict

Make kdc_options an element of kdc_exchange_dict instead of a parameter
to _generic_kdc_exchange(). This allows testing code to adjust the reply
checking based on the options that were specified in the request.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14817
(cherry picked from commit 8fe9589da2d8fe6f5c47770c618ebabe028f6a95)
python/samba/tests/krb5/as_req_tests.py
python/samba/tests/krb5/raw_testcase.py