Function

gss_inquire_name

Returns information about a name.

Declaration

OM_uint32 gss_inquire_name(OM_uint32 *minor_status, gss_name_t input_name, int *name_is_MN, gss_OID  _Nullable *MN_mech, gss_buffer_set_t  _Nullable *attrs);

Parameters

minor_status

A pointer to the secondary status result that provides additional information in case of failure.

input_name

The name to examine.

name_is_MN

A pointer the function uses to return a status flag indicating whether or not the name is a mechanism name. The value is non-zero if it is a mechanism name.

MN_mech

A pointer the function uses to return an object identifier indicating the first mechanism found to support the name.

attrs

A pointer the function uses to return an attributes buffer.

Return Value

A status code set to GSS_S_COMPLETE on success. See Function Status for a complete enumeration of status outputs.

See Also

Inquiries

gss_display_name

Converts a name in the internal format to an octet string and the associated name type.

gss_compare_name

Returns a flag that indicates if two names in internal name format refer to the same entity.

gss_inquire_mechs_for_name

Returns a list of mechanisms that support a particular name type.

gss_inquire_names_for_mech

Returns a list of name types that a given mechanism supports.

gss_duplicate_name

Returns a copy of an internal name.

gss_aapl_change_password

Changes the password associated with a name.

gss_userok

Returns a flag that indicates if a given user is authorized.