1 .\" Copyright (c) 2003 - 2005 Kungliga Tekniska Högskolan
2 .\" (Royal Institute of Technology, Stockholm, Sweden).
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
16 .\" 3. Neither the name of the Institute nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
39 .Nd Generic Security Service Application Program Interface library
41 GSS-API Library (libgssapi, -lgssapi)
43 The Generic Security Service Application Program Interface (GSS-API)
44 provides security services to callers in a generic fashion,
45 supportable with a range of underlying mechanisms and technologies and
46 hence allowing source-level portability of applications to different
49 The GSS-API implementation in Heimdal implements the Kerberos 5 and
50 the SPNEGO GSS-API security mechanisms.
52 These functions constitute the gssapi library,
54 Declarations for these functions may be obtained from the include file
58 .ta \w'gss_inquire_names_for_mech'u+2n +\w'Description goes here'u
59 \fIName/Page\fP \fIDescription\fP
60 .ta \w'gss_inquire_names_for_mech'u+2n +\w'Description goes here'u+6nC
62 gss_accept_sec_context.3
65 gss_add_oid_set_member.3
66 gss_canonicalize_name.3
69 gss_create_empty_oid_set.3
70 gss_delete_sec_context.3
75 gss_export_sec_context.3
78 gss_import_sec_context.3
80 gss_init_sec_context.3
83 gss_inquire_cred_by_mech.3
84 gss_inquire_mechs_for_name.3
85 gss_inquire_names_for_mech.3
86 gss_krb5_ccache_name.3
87 gss_krb5_compat_des3_mic.3
88 gss_krb5_copy_ccache.3
89 gss_krb5_extract_authz_data_from_sec_context.3
90 gss_krb5_import_ccache.3
91 gss_process_context_token.3
98 gss_test_oid_set_member.3
104 gss_wrap_size_limit.3
110 GSS-API implementation had a bug in releases before 0.6 that made it
111 fail to inter-operate when using DES3 with other GSS-API
112 implementations when using
116 It is possible to modify the behavior of the generator of the MIC with
119 configuration file so that old clients/servers will still
122 New clients/servers will try both the old and new MIC in Heimdal 0.6.
123 In 0.7 it will check only if configured - the compatibility code will
126 Heimdal 0.6 still generates by default the broken GSS-API DES3 mic,
127 this will change in 0.7 to generate correct des3 mic.
129 To turn on compatibility with older clients and servers, change the
134 that contains a list of globbing expressions that will be matched
135 against the server name.
136 To turn off generation of the old (incompatible) mic of the MIC use
138 .Ar correct_des3_mic .
140 If a match for a entry is in both
145 .Ar broken_des3_mic ,
146 the later will override.
148 This config option modifies behaviour for both clients and servers.
150 Microsoft implemented SPNEGO to Windows2000, however, they managed to
151 get it wrong, their implementation didn't fill in the MechListMIC in
152 the reply token with the right content.
153 There is a work around for this problem, but not all implementation
156 Heimdal defaults to correct SPNEGO when the the kerberos
157 implementation uses CFX, or when it is configured by the user.
158 To turn on compatibility with peers, use option
160 .Ar require_mechlist_mic .
162 .Bd -literal -offset indent
164 broken_des3_mic = cvs/*@SU.SE
165 broken_des3_mic = host/*@E.KTH.SE
166 correct_des3_mic = host/*@SU.SE
167 require_mechlist_mic = host/*@SU.SE
170 All of 0.5.x versions of
172 had broken token delegations in the client side, the server side was