gss_compare_name(3)gss_compare_name(3)NAMEgss_compare_name() - allow an application to compare two internal names
to determine whether they are equivalent
The routine lets an application compare two internal names to determine
whether they are the same. This routine does not resolve the names to
see if they refer to the same object. It simply compares the input
names for equivalence. If either name presented to denotes an anony‐
mous principal, the routines should indicate that the two names do not
refer to the same identity.
name1 Specifies the first internal name.
name2 Specifies the second internal name.
name_equal Returns one of the following values:
The names are the same.
The names are not the same.
minor_status Returns a status code from the security mecha‐
The following status codes can be returned:
The routine was completed successfully.
The name passed by the name1 or name2 parameter is unsupported.
An invalid name was passed by the
name1 or name2 parameter.
The routine failed. Check the
minor_status parameter for details.
was developed by Sun Microsystems, Inc.
SEE ALSOgss_import_name(3), gss_release_name(3).
The manpages for DCE-GSSAPI are included with the DCE-CoreTools prod‐
uct. To see those manpages add to