mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
tests/krb5: Use credentials kvno when creating password key
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 17d5a267298ccd7272e86fd24c2c608511cf46b7)
This commit is contained in:
parent
b695f407b9
commit
27ce461ad8
@ -409,7 +409,8 @@ class KDCBaseTest(RawKerberosTest):
|
||||
etype_info2 = self.der_decode(
|
||||
padata_value, asn1Spec=krb5_asn1.ETYPE_INFO2())
|
||||
|
||||
key = self.PasswordKey_from_etype_info2(creds, etype_info2[0])
|
||||
key = self.PasswordKey_from_etype_info2(creds, etype_info2[0],
|
||||
creds.get_kvno())
|
||||
return key
|
||||
|
||||
def get_pa_data(self, creds, rep, skew=0):
|
||||
|
Loading…
x
Reference in New Issue
Block a user