GSS_COMPARE_NAME(3GSS) | Generic Security Services API Library Functions | GSS_COMPARE_NAME(3GSS) |
gss_compare_name - compare two internal-form names
cc [flag ...] file... -lgss [library ...] #include <gssapi/gssapi.h> OM_uint32 gss_compare_name(OM_uint32 *minor_status,
const gss_name_t name1,const gss_name_t name2,
int *name_equal);
The gss_compare_name() function allows an application to compare two internal-form names to determine whether they refer to the same entity.
If either name presented to gss_compare_name() denotes an anonymous principal, the routines indicate that the two names do not refer to the same identity.
The parameter descriptions for gss_compare_name() follow:
minor_status
name1
name2
name_equal
The gss_compare_name() function may return the following status codes:
GSS_S_COMPLETE
GSS_S_BAD_NAMETYPE
GSS_S_BAD_NAME
GSS_S_FAILURE
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
MT-Level | Safe |
Solaris Security for Developers Guide
January 14, 2003 | OmniOS |