tests/krb5: Allow KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN for a missing sname
authorAndrew Bartlett <abartlet@samba.org>
Tue, 31 Aug 2021 10:38:01 +0000 (22:38 +1200)
committerJule Anger <janger@samba.org>
Wed, 8 Sep 2021 12:32:11 +0000 (12:32 +0000)
commit7ca641892b389f2bd6f13afb862c632a8375cff6
tree931ead390055f111c82913084a631d1c3e1ee59f
parent0fd150e48447d362e47c4c3f9e7bf0930db03afd
tests/krb5: Allow KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN for a missing sname

This allows our code to still pass with the error code that
MIT and Heimdal have chosen

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14770
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14817

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Sep  2 14:28:31 UTC 2021 on sn-devel-184

(cherry picked from commit 10baaf08523200e47451aa1862430977b0365b59)
python/samba/tests/krb5/fast_tests.py
python/samba/tests/krb5/kdc_base_test.py
python/samba/tests/krb5/rfc4120_constants.py
selftest/knownfail_heimdal_kdc