python/tests/krb5: Prepare to allow tests that use the PAC returned NT hash
authorAndrew Bartlett <abartlet@samba.org>
Tue, 26 Mar 2024 01:29:49 +0000 (14:29 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 28 Mar 2024 01:50:41 +0000 (01:50 +0000)
commitf29693d1311a9675034dc7010076309ba2535d64
treeb11a687b10d3f5b531d3121157d90b5a9e2c702e
parent2fd5166a8c1703af97b444077135e1b99e320dec
python/tests/krb5: Prepare to allow tests that use the PAC returned NT hash

We want to use the PAC returned NT hash in the UF_SMARTCARD_REQUIRED case
as it will usually be random bytes so we can not just assert on the
value any more.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
python/samba/tests/krb5/pkinit_tests.py
python/samba/tests/krb5/raw_testcase.py