Fixed a regression that happened when the Asn-syntax format changed.

This commit is contained in:
blackhedd 2006-04-15 04:16:20 +00:00
parent 2f56d3e258
commit 0d4ec9b2d5

View file

@ -57,28 +57,32 @@ module Net
AsnSyntax = { AsnSyntax = {
:application => { :application => {
0 => :array, # BindRequest :constructed => {
1 => :array, # BindResponse 0 => :array, # BindRequest
2 => :array, # UnbindRequest 1 => :array, # BindResponse
3 => :array, # SearchRequest 2 => :array, # UnbindRequest
4 => :array, # SearchData 3 => :array, # SearchRequest
5 => :array, # SearchResult 4 => :array, # SearchData
6 => :array, # ModifyRequest 5 => :array, # SearchResult
7 => :array, # ModifyResponse 6 => :array, # ModifyRequest
8 => :array, # AddRequest 7 => :array, # ModifyResponse
9 => :array, # AddResponse 8 => :array, # AddRequest
10 => :array, # DelRequest 9 => :array, # AddResponse
11 => :array, # DelResponse 10 => :array, # DelRequest
12 => :array, # ModifyRdnRequest 11 => :array, # DelResponse
13 => :array, # ModifyRdnResponse 12 => :array, # ModifyRdnRequest
14 => :array, # CompareRequest 13 => :array, # ModifyRdnResponse
15 => :array, # CompareResponse 14 => :array, # CompareRequest
16 => :array, # AbandonRequest 15 => :array, # CompareResponse
16 => :array, # AbandonRequest
}
}, },
:context_specific => { :context_specific => {
0 => :string, # password :primitive => {
1 => :string, # Kerberos v4 0 => :string, # password
2 => :string, # Kerberos v5 1 => :string, # Kerberos v4
2 => :string, # Kerberos v5
}
} }
} }