mirror of
https://github.com/samba-team/samba.git
synced 2025-07-22 16:59:09 +03:00
selftest: Add in encrypted-pa-data from RFC 6806
This comes from Windows 2019 which supports FAST. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
committed by
Gary Lockyer
parent
ab8c0a181b
commit
fc77ece0e2
@ -239,7 +239,8 @@ EncKDCRepPart ::= SEQUENCE {
|
||||
renew-till [8] KerberosTime OPTIONAL,
|
||||
srealm [9] Realm,
|
||||
sname [10] PrincipalName,
|
||||
caddr [11] HostAddresses OPTIONAL
|
||||
caddr [11] HostAddresses OPTIONAL,
|
||||
encrypted-pa-data[12] METHOD-DATA OPTIONAL
|
||||
}
|
||||
|
||||
LastReq ::= SEQUENCE OF SEQUENCE {
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Auto-generated by asn1ate v.0.6.1.dev0 from rfc4120.asn1
|
||||
# (last modified on 2020-11-03 14:07:15.270009)
|
||||
# (last modified on 2020-11-06 11:30:42.476808)
|
||||
|
||||
# KerberosV5Spec2
|
||||
from pyasn1.type import univ, char, namedtype, namedval, tag, constraint, useful
|
||||
@ -438,6 +438,13 @@ LastReq.componentType = univ.Sequence(componentType=namedtype.NamedTypes(
|
||||
))
|
||||
|
||||
|
||||
class METHOD_DATA(univ.SequenceOf):
|
||||
pass
|
||||
|
||||
|
||||
METHOD_DATA.componentType = PA_DATA()
|
||||
|
||||
|
||||
class TicketFlags(KerberosFlags):
|
||||
pass
|
||||
|
||||
@ -458,7 +465,8 @@ EncKDCRepPart.componentType = namedtype.NamedTypes(
|
||||
namedtype.OptionalNamedType('renew-till', KerberosTime().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 8))),
|
||||
namedtype.NamedType('srealm', Realm().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 9))),
|
||||
namedtype.NamedType('sname', PrincipalName().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 10))),
|
||||
namedtype.OptionalNamedType('caddr', HostAddresses().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 11)))
|
||||
namedtype.OptionalNamedType('caddr', HostAddresses().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 11))),
|
||||
namedtype.OptionalNamedType('encrypted-pa-data', METHOD_DATA().subtype(explicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 12)))
|
||||
)
|
||||
|
||||
|
||||
@ -702,13 +710,6 @@ KRB_SAFE.componentType = namedtype.NamedTypes(
|
||||
)
|
||||
|
||||
|
||||
class METHOD_DATA(univ.SequenceOf):
|
||||
pass
|
||||
|
||||
|
||||
METHOD_DATA.componentType = PA_DATA()
|
||||
|
||||
|
||||
class MessageTypeValues(univ.Integer):
|
||||
pass
|
||||
|
||||
|
Reference in New Issue
Block a user