]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tests/krb5: Add expect_claims parameter to kdc_exchange_dict
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 29 Sep 2021 03:10:07 +0000 (16:10 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Oct 2021 18:59:31 +0000 (18:59 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14642

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

index 1a3aedbd43644dd4b8a7fd2c82297744015425eb..0415f1ff6e6754932f292cb0a1bfba5fafa286dc 100644 (file)
@@ -1961,6 +1961,7 @@ class RawKerberosTest(TestCaseInTempDir):
                          pac_options=None,
                          expect_edata=None,
                          expect_pac=True,
+                         expect_claims=True,
                          to_rodc=False):
         if expected_error_mode == 0:
             expected_error_mode = ()
@@ -2008,6 +2009,7 @@ class RawKerberosTest(TestCaseInTempDir):
             'pac_options': pac_options,
             'expect_edata': expect_edata,
             'expect_pac': expect_pac,
+            'expect_claims': expect_claims,
             'to_rodc': to_rodc
         }
         if callback_dict is None:
@@ -2050,6 +2052,7 @@ class RawKerberosTest(TestCaseInTempDir):
                           pac_options=None,
                           expect_edata=None,
                           expect_pac=True,
+                          expect_claims=True,
                           to_rodc=False):
         if expected_error_mode == 0:
             expected_error_mode = ()
@@ -2096,6 +2099,7 @@ class RawKerberosTest(TestCaseInTempDir):
             'pac_options': pac_options,
             'expect_edata': expect_edata,
             'expect_pac': expect_pac,
+            'expect_claims': expect_claims,
             'to_rodc': to_rodc
         }
         if callback_dict is None: