tests/krb5: Add tests for AS-REQ with an SPN
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 25 Nov 2021 03:22:58 +0000 (16:22 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 6 Dec 2021 22:08:32 +0000 (22:08 +0000)
commit860065a3c99475e43f68330f7349cb317bc5b009
tree77d5d5803653c7be2230141d5b9d1f07a870cc34
parent31900a0a58283868798dcb90ed43519b39559c2c
tests/krb5: Add tests for AS-REQ with an SPN

Using a SPN should only be permitted if it is also a UPN, and is not an
enterprise principal.

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