1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

tests/krb5: Generate full ticket signatures with trailing RODC id

This matches the use of make_rodc_zeroed_checksum() in the preceeding
loop, and means that RODC-signed service tickets no longer fail to
decrypt.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-03-14 11:53:45 +13:00 committed by Andrew Bartlett
parent 7e7c692adb
commit f90a46765a

View File

@ -4721,7 +4721,7 @@ class RawKerberosTest(TestCaseInTempDir):
full_checksum_key = checksum_keys[krb5pac.PAC_TYPE_FULL_CHECKSUM]
pac_data = ndr_pack(pac)
full_checksum = full_checksum_key.make_checksum(
full_checksum = full_checksum_key.make_rodc_checksum(
KU_NON_KERB_CKSUM_SALT,
pac_data)