mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
tests/krb5: Check Kerberos protocol version number
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> BUG: https://bugzilla.samba.org/show_bug.cgi?id=14817 (cherry picked from commit d6a242e20004217a0ce02dc4ef620a121e5944da)
This commit is contained in:
parent
c562c5cbee
commit
b695f407b9
@ -1786,6 +1786,7 @@ class RawKerberosTest(TestCaseInTempDir):
|
||||
expected_patypes += (PADATA_PK_AS_REQ,)
|
||||
expected_patypes += (PADATA_PK_AS_REP_19,)
|
||||
|
||||
self.assertElementEqual(rep, 'pvno', 5)
|
||||
self.assertElementEqual(rep, 'msg-type', KRB_ERROR)
|
||||
self.assertElementEqual(rep, 'error-code', expected_error)
|
||||
self.assertElementMissing(rep, 'ctime')
|
||||
|
Loading…
x
Reference in New Issue
Block a user