From: Joseph Sutton Date: Tue, 29 Aug 2023 02:48:24 +0000 (+1200) Subject: tests/krb5: Remove test of pre-1.20 MIT Kerberos behaviour X-Git-Tag: tevent-0.16.0~762 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e390e674ecb93d7c64456825697cc7de4cbf181d;p=thirdparty%2Fsamba.git tests/krb5: Remove test of pre-1.20 MIT Kerberos behaviour Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/krb5/compatability_tests.py b/python/samba/tests/krb5/compatability_tests.py index 8e9a7e8ce90..869e8b7caff 100755 --- a/python/samba/tests/krb5/compatability_tests.py +++ b/python/samba/tests/krb5/compatability_tests.py @@ -146,27 +146,6 @@ class CompatabilityTests(KDCBaseTest): self.verify_ticket(service_ticket, key, service_ticket=True, expect_ticket_checksum=True) - def test_mit_pre_1_20_ticket_signature(self): - # Ensure that a DC does not issue tickets signed with its krbtgt key. - user_creds = self.get_client_creds() - target_creds = self.get_service_creds() - - krbtgt_creds = self.get_krbtgt_creds() - key = self.TicketDecryptionKey_from_creds(krbtgt_creds) - - # Get a TGT from the DC. - tgt = self.get_tgt(user_creds) - - # Ensure the PAC contains the expected checksums. - self.verify_ticket(tgt, key, service_ticket=False) - - # Get a service ticket from the DC. - service_ticket = self.get_service_ticket(tgt, target_creds) - - # Ensure the PAC does not contain the expected checksums. - self.verify_ticket(service_ticket, key, service_ticket=True, - expect_ticket_checksum=False) - def test_full_signature(self): # Ensure that a DC correctly issues tickets signed with its krbtgt key. user_creds = self.get_client_creds() diff --git a/selftest/knownfail_mit_kdc_1_20 b/selftest/knownfail_mit_kdc_1_20 index 397bca2321e..9ff5ae83739 100644 --- a/selftest/knownfail_mit_kdc_1_20 +++ b/selftest/knownfail_mit_kdc_1_20 @@ -1,4 +1,3 @@ -^samba.tests.krb5.compatability_tests.samba.tests.krb5.compatability_tests.CompatabilityTests.test_mit_pre_1_20_ticket_signature # # FAST tests # https://github.com/krb5/krb5/pull/1225#issuecomment-996418770