tests/krb5: Correctly assert that we found a LOGON_INFO PAC buffer
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 24 Aug 2023 22:53:00 +0000 (10:53 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 30 Aug 2023 02:15:29 +0000 (02:15 +0000)
commit3f01cf9169947d52138a16c53d5bedb28f8c78cc
tree73d977853bed5efb6d0649b30c9f1dcde06e6253
parent04cdb13c0809194092ec418313ec8c3eede8b18a
tests/krb5: Correctly assert that we found a LOGON_INFO PAC buffer

Because ‘found_logon_info’ was invariably true, we would miss the case
in which set_pac_sids() failed to accomplish anything, having been
unable to find the LOGON_INFO PAC buffer.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/krb5/kdc_base_test.py