gss_compare_name(3) gss_compare_name(3)
NAME [Toc] [Back]
gss_compare_name() - allow an application to compare two internal
names to determine whether they are equivalent
SYNOPSIS [Toc] [Back]
#include <gssapi.h>
OM_uint32 gss_compare_name (
OM_uint32 *minor_status,
const gss_name_t name1,
const gss_name_t name2,
int *name_equal)
DESCRIPTION [Toc] [Back]
The gss_compare_name() 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 gss_compare_name() denotes an anonymous principal, the
routines should indicate that the two names do not refer to the same
identity.
Input Parameters [Toc] [Back]
name1 Specifies the first internal name.
name2 Specifies the second internal name.
Output Parameters [Toc] [Back]
name_equal Returns one of the following values:
True The names are the same.
False The names are not the same.
minor_status Returns a status code from the security
mechanism.
STATUS CODES [Toc] [Back]
The following status codes can be returned:
GSS_S_COMPLETE The routine was completed successfully.
GSS_S_BAD_NAMETYPE The name passed by the name1 or name2
parameter is unsupported.
GSS_S_BAD_NAME An invalid name was passed by the name1 or
name2 parameter.
GSS_S_FAILURE The routine failed. Check the minor_status
parameter for details.
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
gss_compare_name(3) gss_compare_name(3)
AUTHOR [Toc] [Back]
gss_compare_name() was developed by Sun Microsystems, Inc.
SEE ALSO [Toc] [Back]
gss_import_name(3), gss_release_name(3).
The manpages for DCE-GSSAPI are included with the DCE-CoreTools
product. To see those manpages add /opt/dce/share/man to MANPATH.
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003 [ Back ] |