1gss_compare_name(G3eGnSeSr)ic Security Services API Library Fungcstsi_ocnosmpare_name(3GSS)
2
3
4

NAME

6       gss_compare_name - compare two internal-form names
7

SYNOPSIS

9       cc [flag ...]  file... -lgss [library ...]
10       #include <gssapi/gssapi.h>
11
12       OM_uint32 gss_compare_name(OM_uint32 *minor_status,
13            const gss_name_t name1,const gss_name_t name2,
14            int *name_equal);
15
16

DESCRIPTION

18       The  gss_compare_name()  function  allows an application to compare two
19       internal-form names to determine whether they refer to the same entity.
20
21
22       If either name presented to  gss_compare_name()  denotes  an  anonymous
23       principal, the routines indicate that the two names do not refer to the
24       same identity.
25

PARAMETERS

27       The parameter descriptions for gss_compare_name() follow:
28
29       minor_status    Mechanism-specific status code.
30
31
32       name1           Internal-form name.
33
34
35       name2           Internal-form name.
36
37
38       name_equal      If non-zero, the names refer to same entity. If 0,  the
39                       names  refer to different entities. Strictly, the names
40                       are not known to refer to the same identity.
41
42

ERRORS

44       The gss_compare_name() function may return the following status codes:
45
46       GSS_S_COMPLETE        Successful completion.
47
48
49       GSS_S_BAD_NAMETYPE    The two names were of incomparable types.
50
51
52       GSS_S_BAD_NAME        One or both of name1 or name2 was ill-formed.
53
54
55       GSS_S_FAILURE         The underlying mechanism detected  an  error  for
56                             which  no  specific  GSS  status code is defined.
57                             The mechanism-specific status  code  reported  by
58                             means  of  the minor_status parameter details the
59                             error condition.
60
61

ATTRIBUTES

63       See attributes(5) for descriptions of the following attributes:
64
65
66
67
68       ┌─────────────────────────────┬─────────────────────────────┐
69       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
70       ├─────────────────────────────┼─────────────────────────────┤
71       │Availability                 │SUNWgss (32-bit)             │
72       ├─────────────────────────────┼─────────────────────────────┤
73       │                             │SUNWgssx (64-bit)            │
74       ├─────────────────────────────┼─────────────────────────────┤
75       │MT-Level                     │Safe                         │
76       └─────────────────────────────┴─────────────────────────────┘
77

SEE ALSO

79       attributes(5)
80
81
82       Solaris Security for Developers Guide
83
84
85
86SunOS 5.11                        14 Jan 2003           gss_compare_name(3GSS)
Impressum