KERB_EXTERNAL_NAME structure (ntsecapi.h)

The KERB_EXTERNAL_NAME structure contains information about an external name.

An external name is one used by external users. This structure is used by the KERB_EXTERNAL_TICKET structure.

Syntax

typedef struct _KERB_EXTERNAL_NAME {
  SHORT          NameType;
  USHORT         NameCount;
  UNICODE_STRING Names[ANYSIZE_ARRAY];
} KERB_EXTERNAL_NAME, *PKERB_EXTERNAL_NAME;

Members

NameType

Indicates the type of the names stored in this structure.

Value Meaning
KRB_NT_UNKNOWN
Unknown name type.
KRB_NT_PRINCIPAL
Name of the user or a Kerberos name type principal in the case of a DCE.
KRB_NT_SRV_INST
Service name and other unique name as instance (krbtgt).
KRB_NT_SRV_HST
Service name with host name as instance (telnet, rcommands).
KRB_NT_SRV_XHST
Service name with host as instance other than krbtgt, telnet, or rcommands.
KRB_NT_UID
Unique ID.
KRB_NT_ENTERPRISE_PRINCIPAL
User principal name (UPN) or service principal name (SPN).
KRB_NT_ENT_PRINCIPAL_AND_ID
UPN and security identifier (SID).
KRB_NT_MS_PRINICPAL
Windows NT 4.0–style name.
KRB_NT_MS_PRINCIPAL_AND_ID
Windows NT 4.0–style name with SID.

NameCount

Indicates the number of names stored in Names.

Names[ANYSIZE_ARRAY]

Array of UNICODE_STRINGS containing the names.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header ntsecapi.h