tests python krb5: raw_testcase permit RC4 salts
authorGary Lockyer <gary@catalyst.net.nz>
Tue, 10 Nov 2020 00:51:39 +0000 (13:51 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Nov 2020 21:30:32 +0000 (21:30 +0000)
MIT kerberos returns a salt when ARCFOUR_HMAC_MD5, this commit removes
the check that a salt is not returned.  A test for the difference
between MIT and Heimdal will be added in the subsequent commits.

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

index 45e46e0b7bad65bef4dfc571f9c023a1aca95ac8..e67f5464e59ced155edff35e2e62217d96fd7e86 100644 (file)
@@ -425,7 +425,6 @@ class RawKerberosTest(TestCase):
             pass
 
         if e == kcrypto.Enctype.RC4:
-            self.assertIsNone(salt)
             nthash = creds.get_nt_hash()
             return self.SessionKey_create(etype=e, contents=nthash, kvno=kvno)