Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > G

gss_compare_name(3)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

gss_compare_name() — allow an application to compare two internal names to determine whether they are equivalent

SYNOPSIS

#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

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

name1

Specifies the first internal name.

name2

Specifies the second internal name.

Output Parameters

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

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.

AUTHOR

gss_compare_name() was developed by Sun Microsystems, Inc.

SEE ALSO

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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.