gss_duplicate_name(3)gss_duplicate_name(3)NAMEgss_duplicate_name - Copy existing internal form name.
OM_uint32 * minor_status,
const gss_name_t src_name,
gss_name_t * const dest_name );
Kerberos 5 error code. Internal form name to be duplicated. The appli‐
cation must obtain the internal form name beforehand using a call such
as gss_import_name(). The resulting copy of the internal name.
Storage associated with this name must be freed by the applica‐
tion after use with a call to gss_release_name().
The gss_duplicate_name() function creates an exact copy of an existing
internal form name. The new name is independent of the original name.
This means both names must both be released after use, and that the
release of one does not affect the validity of the other.
Storage associated with the duplicate name must be freed by the appli‐
cation after use with a call to gss_release_name().
Functions: gss_import_name(3), gss_release_name(3)gss_duplicate_name(3)