A name type indicates the format of the name with which it is associated. (See Names and OIDs for more on names and name types.) The GSS-API supports the following name types, which are all gss_OID types:
Table B–5 Name Types
Name Type |
Meaning |
---|---|
GSS_C_NO_NAME |
The recommended symbolic name GSS_C_NO_NAME indicates that no name is being passed within a particular value of a parameter used for the purpose of transferring names. |
GSS_C_NO_OID |
This value corresponds to a null input value instead of an actual object identifier. Where specified, it indicates interpretation of an associated name based on a mechanism-specific default printable syntax. |
GSS_C_NT_ANONYMOUS |
Provided as a means to identify anonymous names, and can be compared against in order 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 |
This name type is used to represent services 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 |
This name type is used to indicate a numeric user identifier corresponding to a user on a local system. Its interpretation is OS-specific. The gss_import_name() function resolves this UID into a username, which is then treated as the User Name Form. |
GSS_C_NT_STRING_STRING_UID_NAME |
This name type is used to indicate a string of digits representing the numeric user identifier of a user on a local system. Its interpretation is OS-specific. This name type is similar to the Machine UID Form, except that the buffer contains a string representing the user ID. |
GSS_C_NT_USER_NAME |
A named user on a local system. Its interpretation is OS-specific. It takes the form: username. |