tests/krb5: Include kdc_options in kdc_exchange_dict
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 26 Jul 2021 22:35:40 +0000 (10:35 +1200)
committerJule Anger <janger@samba.org>
Thu, 16 Sep 2021 08:07:12 +0000 (08:07 +0000)
commitcc1f6fcddbc58d587797db27f24a04d8c6f50553
tree146b07e77a1e70c9cab81e320cf18187910f2d4e
parentd82d3a20d320a9921ef6cbc31cd945b011875281
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