| 1 |
// Package nametype provides Kerberos 5 principal name type numbers. |
| 2 |
package nametype |
| 3 |
|
| 4 |
// Kerberos name type IDs. |
| 5 |
const ( |
| 6 |
KRB_NT_UNKNOWN int32 = 0 //Name type not known |
| 7 |
KRB_NT_PRINCIPAL int32 = 1 //Just the name of the principal as in DCE, or for users |
| 8 |
KRB_NT_SRV_INST int32 = 2 //Service and other unique instance (krbtgt) |
| 9 |
KRB_NT_SRV_HST int32 = 3 //Service with host name as instance (telnet, rcommands) |
| 10 |
KRB_NT_SRV_XHST int32 = 4 //Service with host as remaining components |
| 11 |
KRB_NT_UID int32 = 5 //Unique ID |
| 12 |
KRB_NT_X500_PRINCIPAL int32 = 6 //Encoded X.509 Distinguished name [RFC2253] |
| 13 |
KRB_NT_SMTP_NAME int32 = 7 //Name in form of SMTP email name (e.g., [email protected]) |
| 14 |
KRB_NT_ENTERPRISE int32 = 10 //Enterprise name; may be mapped to principal name |
| 15 |
) |