mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
tests/krb5: Allow specifying whether to expect a PAC with _test_as_exchange()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
e086c6193f
commit
0dc69c1327
@ -3530,6 +3530,7 @@ class RawKerberosTest(TestCaseInTempDir):
|
||||
ticket_decryption_key=None,
|
||||
pac_request=None,
|
||||
pac_options=None,
|
||||
expect_pac=True,
|
||||
to_rodc=False):
|
||||
|
||||
def _generate_padata_copy(_kdc_exchange_dict,
|
||||
@ -3569,6 +3570,7 @@ class RawKerberosTest(TestCaseInTempDir):
|
||||
kdc_options=str(kdc_options),
|
||||
pac_request=pac_request,
|
||||
pac_options=pac_options,
|
||||
expect_pac=expect_pac,
|
||||
to_rodc=to_rodc)
|
||||
|
||||
rep = self._generic_kdc_exchange(kdc_exchange_dict,
|
||||
|
Loading…
Reference in New Issue
Block a user