]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tests/krb5: Allow variation in PADATA_PW_SALT
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 28 Sep 2023 01:49:11 +0000 (14:49 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 28 Sep 2023 03:33:38 +0000 (03:33 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/krb5/raw_testcase.py

index ba59bba5495fba15748f288d19733523f255a772..117210944291644cc8a7e3376418e069f02dfaee 100644 (file)
@@ -119,6 +119,7 @@ from samba.tests.krb5.rfc4120_constants import (
     PADATA_PK_AS_REP,
     PADATA_PK_AS_REP_19,
     PADATA_PK_AS_REQ,
+    PADATA_PW_SALT,
     PADATA_REQ_ENC_PA_REP,
     PADATA_SUPPORTED_ETYPES,
 )
@@ -5045,7 +5046,8 @@ class RawKerberosTest(TestCase):
 
             got_patypes = tuple(pa['padata-type'] for pa in rep_padata)
             self.assertSequenceElementsEqual(expected_patypes, got_patypes,
-                                             require_strict=require_strict)
+                                             require_strict=require_strict,
+                                             unchecked={PADATA_PW_SALT})
 
             if not expected_patypes:
                 return None