Function

gss_compare_name

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

Declaration

OM_uint32 gss_compare_name(OM_uint32 *minor_status, gss_name_t name1_arg, gss_name_t name2_arg, int *name_equal);

Parameters

minor_status

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

name1_arg

The first name to compare.

name2_arg

The second name to compare.

name_equal

A pointer the function uses to return a value that indicate the outcome of the comparison. A non-zero value indicates that the names refer to the same entity. A value of zero indicates that the function could not positively ascertain that the names refer to the same entity.

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_inquire_name

Returns information about a name.

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.