1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-23 00:23:53 +03:00

tests/krb5: Fix sending PA-PAC-OPTIONS and PA-PAC-REQUEST

These padata were not being sent if other FAST padata was not specified.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton
2021-09-30 10:51:01 +13:00
committed by Andrew Bartlett
parent ce433ff868
commit 6f1282e8d3

View File

@@ -1801,8 +1801,6 @@ class RawKerberosTest(TestCaseInTempDir):
fast_padata, req_body = generate_fast_padata_fn(kdc_exchange_dict,
callback_dict,
req_body)
fast_padata += additional_padata
else:
fast_padata = []
@@ -1847,6 +1845,7 @@ class RawKerberosTest(TestCaseInTempDir):
KU_FAST_REQ_CHKSUM,
checksum_blob)
fast_padata += additional_padata
fast = generate_fast_fn(kdc_exchange_dict,
callback_dict,
inner_req_body,