Function

gss_duplicate_name

Returns a copy of an internal name.

Declaration

OM_uint32 gss_duplicate_name(OM_uint32 *minor_status, gss_name_t src_name, gss_name_t  _Nonnull *dest_name);

Parameters

minor_status

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

src_name

The name to duplicate.

dest_name

A pointer the function uses to return the copied name. Release the name using a call to the gss_release_name function when you are done with it.

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_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_aapl_change_password

Changes the password associated with a name.

gss_userok

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