Name Types

A name type indicates the format of the associated name. See Names in GSS-API and GSS-API OIDs for more on names and name types.
The GSS-API supports the gss_OID name types in the
following table.

GSS_C_NO_NAME

The symbolic name GSS_C_NO_NAME is recommended as a parameter
value to indicate that no value is supplied in the transfer of names.

GSS_C_NO_OID

This value corresponds to a null input value instead of an
actual object identifier. Where specified, the value indicates interpretation
of an associated name that is based on a mechanism-specific default printable
syntax.

GSS_C_NT_ANONYMOUS

A means to identify anonymous names. This value can be compared
with to determine in a mechanism-independent fashion whether a name refers
to an anonymous principal.

GSS_C_NT_EXPORT_NAME

A name that has been exported with the gss_export_name() function.

GSS_C_NT_HOSTBASED_SERVICE

Used to represent services that are associated with host computers.
This name form is constructed using two elements, service and hostname, as
follows: service@hostname.

GSS_C_NT_MACHINE_UID_NAME

Used to indicate a numeric user identifier corresponding to
a user on a local system. The interpretation of this value is OS-specific.
The gss_import_name() function resolves this UID into
a user name, which is then treated as the User Name Form.

GSS_C_NT_STRING_STRING_UID_NAME

Used to indicate a string of digits that represents the numeric
user identifier of a user on a local system. The interpretation of this value
is OS-specific. This name type is similar to the Machine UID Form, except
that the buffer contains a string that represents the user ID.

GSS_C_NT_USER_NAME

A named user on a local system. The interpretation of this
value is OS-specific. The value takes the form: username.