Deferred hostname canon using name canon rules

This commit is contained in:
Nicolas Williams
2011-10-15 19:29:54 -05:00
parent 587cf45846
commit a5e77c578e
9 changed files with 1220 additions and 141 deletions

View File

@@ -89,7 +89,8 @@ NAME-TYPE ::= INTEGER {
KRB5_NT_ENT_PRINCIPAL_AND_ID(-130), -- Windows 2000 UPN and SID
KRB5_NT_MS_PRINCIPAL(-128), -- NT 4 style name
KRB5_NT_MS_PRINCIPAL_AND_ID(-129), -- NT style name and SID
KRB5_NT_NTLM(-1200) -- NTLM name, realm is domain
KRB5_NT_NTLM(-1200), -- NTLM name, realm is domain
KRB5_NT_SRV_HST_NEEDS_CANON (-195894762) -- -(0x0bad1dea)
}
-- message types
@@ -269,6 +270,10 @@ PrincipalName ::= SEQUENCE {
Principal ::= SEQUENCE {
name[0] PrincipalName,
realm[1] Realm
-- Note that while it'd be nice to be able to add OPTIONAL
-- fields at the end here there are issues regarding
-- applications that allocate krb5_principal_data's on the
-- stack.
}
Principals ::= SEQUENCE OF Principal