xref: /freebsd/lib/libgssapi/mech.5 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1c0b9f4feSDoug Rabson.\" Copyright (c) 2005 Doug Rabson
2c0b9f4feSDoug Rabson.\" All rights reserved.
3c0b9f4feSDoug Rabson.\"
4c0b9f4feSDoug Rabson.\" Redistribution and use in source and binary forms, with or without
5c0b9f4feSDoug Rabson.\" modification, are permitted provided that the following conditions
6c0b9f4feSDoug Rabson.\" are met:
7c0b9f4feSDoug Rabson.\" 1. Redistributions of source code must retain the above copyright
8c0b9f4feSDoug Rabson.\"    notice, this list of conditions and the following disclaimer.
9c0b9f4feSDoug Rabson.\" 2. Redistributions in binary form must reproduce the above copyright
10c0b9f4feSDoug Rabson.\"    notice, this list of conditions and the following disclaimer in the
11c0b9f4feSDoug Rabson.\"    documentation and/or other materials provided with the distribution.
12c0b9f4feSDoug Rabson.\"
13c0b9f4feSDoug Rabson.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14c0b9f4feSDoug Rabson.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15c0b9f4feSDoug Rabson.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16c0b9f4feSDoug Rabson.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17c0b9f4feSDoug Rabson.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18c0b9f4feSDoug Rabson.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19c0b9f4feSDoug Rabson.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20c0b9f4feSDoug Rabson.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21c0b9f4feSDoug Rabson.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22c0b9f4feSDoug Rabson.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23c0b9f4feSDoug Rabson.\" SUCH DAMAGE.
24d76ba3efSGavin Atkinson.Dd January 26, 2010
25c0b9f4feSDoug Rabson.Dt MECH 5
26c0b9f4feSDoug Rabson.Os
27c0b9f4feSDoug Rabson.Sh NAME
28c0b9f4feSDoug Rabson.Nm mech ,
29c0b9f4feSDoug Rabson.Nm qop
30c0b9f4feSDoug Rabson.Nd "GSS-API Mechanism and QOP files"
31c0b9f4feSDoug Rabson.Sh SYNOPSIS
32c0b9f4feSDoug Rabson.Pa "/etc/gss/mech"
33c0b9f4feSDoug Rabson.Pa "/etc/gss/qop"
34c0b9f4feSDoug Rabson.Sh DESCRIPTION
35c0b9f4feSDoug RabsonThe
36c0b9f4feSDoug Rabson.Pa "/etc/gss/mech"
37c0b9f4feSDoug Rabsonfile contains a list of installed GSS-API security mechanisms.
38c0b9f4feSDoug RabsonEach line of the file either contains a comment if the first character
39c0b9f4feSDoug Rabsonis '#' or it contains five fields with the following meanings:
406a557179SJoel Dahl.Bl -tag -width ".It Object identifier"
41c0b9f4feSDoug Rabson.It Name
42c0b9f4feSDoug RabsonThe name of this GSS-API mechanism.
43c0b9f4feSDoug Rabson.It Object identifier
44c0b9f4feSDoug RabsonThe OID for this mechanism.
45c0b9f4feSDoug Rabson.It Library
46c0b9f4feSDoug RabsonA shared library containing the implementation of this mechanism.
476a557179SJoel Dahl.It Kernel module
486a557179SJoel DahlOptional kernel module containing the implementation of this mechanism (not
49c0b9f4feSDoug Rabsonyet supported in FreeBSD).
506a557179SJoel Dahl.It Library options
5133f12199SDoug RabsonOptional parameters interpreted by the mechanism. Library options
52c0b9f4feSDoug Rabsonmust be enclosed in brackets ([ ]) to differentiate them from the
53c0b9f4feSDoug Rabsonoptional kernel module entry.
54c0b9f4feSDoug Rabson.El
55c0b9f4feSDoug Rabson.Pp
5633f12199SDoug RabsonThe first mechanism listed in
5733f12199SDoug Rabson.Pa "/etc/gss/mech"
5833f12199SDoug Rabsonis the default mechanism.
5933f12199SDoug RabsonThis mechanism will be used by
6033f12199SDoug Rabson.Xr gss_init_sec_context 3
6133f12199SDoug Rabsonif the user doesn't specify a specific mechanism.
6233f12199SDoug Rabson.Pp
63c0b9f4feSDoug RabsonThe
64c0b9f4feSDoug Rabson.Pa "/etc/gss/qop"
65c0b9f4feSDoug Rabsonfile contains a list of Quality of Protection values for use with
66c0b9f4feSDoug RabsonGSS-API.
67c0b9f4feSDoug RabsonEach line of the file either contains a comment if the first character
68c0b9f4feSDoug Rabsonis '#' or it contains three fields with the following meanings:
696a557179SJoel Dahl.Bl -tag -width ".It Mechanism name"
70c0b9f4feSDoug Rabson.It QOP string
71c0b9f4feSDoug RabsonThe name of this Quality of Protection algorithm.
72c0b9f4feSDoug Rabson.It QOP value
73c0b9f4feSDoug RabsonThe numeric value used to select this algorithm for use with GSS-API
74c0b9f4feSDoug Rabsonfunctions such as
75c0b9f4feSDoug Rabson.Xr gss_get_mic 3 .
76c0b9f4feSDoug Rabson.It Mechanism name
77c0b9f4feSDoug RabsonThe GSS-API mechanism name that corresponds to this algorithm.
78c0b9f4feSDoug Rabson.El
79c0b9f4feSDoug Rabson.Sh EXAMPLES
80c0b9f4feSDoug RabsonThis is a typical entry from
81c0b9f4feSDoug Rabson.Pa "/etc/gss/mech" :
82c0b9f4feSDoug Rabson.Bd -literal
83c0b9f4feSDoug Rabsonkerberosv5	1.2.840.113554.1.2.2	/usr/lib/libgssapi_krb5.so.8	-
84c0b9f4feSDoug Rabson.Ed
85c0b9f4feSDoug Rabson.Pp
86c0b9f4feSDoug RabsonThis is a typical entry from
87c0b9f4feSDoug Rabson.Pa "/etc/gss/qop" :
88c0b9f4feSDoug Rabson.Bd -literal
89c0b9f4feSDoug RabsonGSS_KRB5_CONF_C_QOP_DES		0x0100	kerberosv5
90c0b9f4feSDoug Rabson.Ed
91c0b9f4feSDoug Rabson.Sh HISTORY
92c0b9f4feSDoug RabsonThe
93c0b9f4feSDoug Rabson.Nm
94d76ba3efSGavin Atkinsonmanual page first appeared in
95c0b9f4feSDoug Rabson.Fx 7.0 .
96c0b9f4feSDoug Rabson.Sh AUTHORS
97c0b9f4feSDoug RabsonThis
98c0b9f4feSDoug Rabsonmanual page was written by
99*2b7af31cSBaptiste Daroussin.An Doug Rabson Aq Mt dfr@FreeBSD.org .
100