xref: /freebsd/crypto/heimdal/lib/krb5/krb5.conf.5 (revision 1c43270ada91f3473174c2bf81fba64963b7e4ac)
11c43270aSJacques Vidrine.\" Copyright (c) 1999 - 2004 Kungliga Tekniska H�gskolan
2bbd80c28SJacques Vidrine.\" (Royal Institute of Technology, Stockholm, Sweden).
3bbd80c28SJacques Vidrine.\" All rights reserved.
4bbd80c28SJacques Vidrine.\"
5bbd80c28SJacques Vidrine.\" Redistribution and use in source and binary forms, with or without
6bbd80c28SJacques Vidrine.\" modification, are permitted provided that the following conditions
7bbd80c28SJacques Vidrine.\" are met:
8bbd80c28SJacques Vidrine.\"
9bbd80c28SJacques Vidrine.\" 1. Redistributions of source code must retain the above copyright
10bbd80c28SJacques Vidrine.\"    notice, this list of conditions and the following disclaimer.
11bbd80c28SJacques Vidrine.\"
12bbd80c28SJacques Vidrine.\" 2. Redistributions in binary form must reproduce the above copyright
13bbd80c28SJacques Vidrine.\"    notice, this list of conditions and the following disclaimer in the
14bbd80c28SJacques Vidrine.\"    documentation and/or other materials provided with the distribution.
15bbd80c28SJacques Vidrine.\"
16bbd80c28SJacques Vidrine.\" 3. Neither the name of the Institute nor the names of its contributors
17bbd80c28SJacques Vidrine.\"    may be used to endorse or promote products derived from this software
18bbd80c28SJacques Vidrine.\"    without specific prior written permission.
19bbd80c28SJacques Vidrine.\"
20bbd80c28SJacques Vidrine.\" THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
21bbd80c28SJacques Vidrine.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22bbd80c28SJacques Vidrine.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23bbd80c28SJacques Vidrine.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
24bbd80c28SJacques Vidrine.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25bbd80c28SJacques Vidrine.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26bbd80c28SJacques Vidrine.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27bbd80c28SJacques Vidrine.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28bbd80c28SJacques Vidrine.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29bbd80c28SJacques Vidrine.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30bbd80c28SJacques Vidrine.\" SUCH DAMAGE.
31bbd80c28SJacques Vidrine.\"
321c43270aSJacques Vidrine.\" $Id: krb5.conf.5,v 1.35.2.2 2004/03/09 19:52:07 lha Exp $
33b528cefcSMark Murray.\"
341c43270aSJacques Vidrine.Dd March  9, 2004
35b528cefcSMark Murray.Dt KRB5.CONF 5
36b528cefcSMark Murray.Os HEIMDAL
37b528cefcSMark Murray.Sh NAME
381c43270aSJacques Vidrine.Nm krb5.conf
3945524cd7SAssar Westerlund.Nd configuration file for Kerberos 5
401c43270aSJacques Vidrine.Sh SYNOPSIS
411c43270aSJacques Vidrine.In krb5.h
42b528cefcSMark Murray.Sh DESCRIPTION
43b528cefcSMark MurrayThe
44b528cefcSMark Murray.Nm
45b528cefcSMark Murrayfile specifies several configuration parameters for the Kerberos 5
46b528cefcSMark Murraylibrary, as well as for some programs.
47b528cefcSMark Murray.Pp
48b528cefcSMark MurrayThe file consists of one or more sections, containing a number of
49bbd80c28SJacques Vidrinebindings.
50bbd80c28SJacques VidrineThe value of each binding can be either a string or a list of other
51bbd80c28SJacques Vidrinebindings.
52bbd80c28SJacques VidrineThe grammar looks like:
53b528cefcSMark Murray.Bd -literal -offset indent
54b528cefcSMark Murrayfile:
55b528cefcSMark Murray	/* empty */
56b528cefcSMark Murray	sections
57b528cefcSMark Murray
58b528cefcSMark Murraysections:
59b528cefcSMark Murray	section sections
60b528cefcSMark Murray	section
61b528cefcSMark Murray
62b528cefcSMark Murraysection:
63b528cefcSMark Murray	'[' section_name ']' bindings
64b528cefcSMark Murray
65b528cefcSMark Murraysection_name:
66b528cefcSMark Murray	STRING
67b528cefcSMark Murray
68b528cefcSMark Murraybindings:
69b528cefcSMark Murray	binding bindings
70b528cefcSMark Murray	binding
71b528cefcSMark Murray
72b528cefcSMark Murraybinding:
73b528cefcSMark Murray	name '=' STRING
74b528cefcSMark Murray	name '=' '{' bindings '}'
75b528cefcSMark Murray
76b528cefcSMark Murrayname:
77b528cefcSMark Murray	STRING
78b528cefcSMark Murray
79b528cefcSMark Murray.Ed
80b528cefcSMark Murray.Li STRINGs
81b528cefcSMark Murrayconsists of one or more non-whitespace characters.
82bbd80c28SJacques Vidrine.Pp
83bbd80c28SJacques VidrineSTRINGs that are specified later in this man-page uses the following
84bbd80c28SJacques Vidrinenotation.
85bbd80c28SJacques Vidrine.Bl -tag -width "xxx" -offset indent
86bbd80c28SJacques Vidrine.It boolean
87bbd80c28SJacques Vidrinevalues can be either yes/true or no/false.
88bbd80c28SJacques Vidrine.It time
89bbd80c28SJacques Vidrinevalues can be a list of year, month, day, hour, min, second.
90bbd80c28SJacques VidrineExample: 1 month 2 days 30 min.
91bbd80c28SJacques Vidrine.It etypes
92bbd80c28SJacques Vidrinevalid encryption types are: des-cbc-crc, des-cbc-md4, des-cbc-md5,
931c43270aSJacques Vidrinedes3-cbc-sha1, arcfour-hmac-md5, aes128-cts-hmac-sha1-96, and
941c43270aSJacques Vidrineaes256-cts-hmac-sha1-96 .
95bbd80c28SJacques Vidrine.It address
96bbd80c28SJacques Vidrinean address can be either a IPv4 or a IPv6 address.
97bbd80c28SJacques Vidrine.El
98bbd80c28SJacques Vidrine.Pp
99b528cefcSMark MurrayCurrently recognised sections and bindings are:
100b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent
101adb0ddaeSAssar Westerlund.It Li [appdefaults]
102adb0ddaeSAssar WesterlundSpecifies the default values to be used for Kerberos applications.
103adb0ddaeSAssar WesterlundYou can specify defaults per application, realm, or a combination of
104bbd80c28SJacques Vidrinethese.
105bbd80c28SJacques VidrineThe preference order is:
106adb0ddaeSAssar Westerlund.Bl -enum -compact
107adb0ddaeSAssar Westerlund.It
108adb0ddaeSAssar Westerlund.Va application Va realm Va option
109adb0ddaeSAssar Westerlund.It
110adb0ddaeSAssar Westerlund.Va application Va option
111adb0ddaeSAssar Westerlund.It
112adb0ddaeSAssar Westerlund.Va realm Va option
113adb0ddaeSAssar Westerlund.It
114adb0ddaeSAssar Westerlund.Va option
115adb0ddaeSAssar Westerlund.El
116adb0ddaeSAssar Westerlund.Pp
117adb0ddaeSAssar WesterlundThe supported options are:
118adb0ddaeSAssar Westerlund.Bl -tag -width "xxx" -offset indent
119adb0ddaeSAssar Westerlund.It Li forwardable = Va boolean
120adb0ddaeSAssar WesterlundWhen obtaining initial credentials, make the credentials forwardable.
121adb0ddaeSAssar Westerlund.It Li proxiable = Va boolean
122adb0ddaeSAssar WesterlundWhen obtaining initial credentials, make the credentials proxiable.
123adb0ddaeSAssar Westerlund.It Li no-addresses = Va boolean
124adb0ddaeSAssar WesterlundWhen obtaining initial credentials, request them for an empty set of
125adb0ddaeSAssar Westerlundaddresses, making the tickets valid from any address.
1264137ff4cSJacques Vidrine.It Li ticket_lifetime = Va time
127adb0ddaeSAssar WesterlundDefault ticket lifetime.
128adb0ddaeSAssar Westerlund.It Li renew_lifetime = Va time
129adb0ddaeSAssar WesterlundDefault renewable ticket lifetime.
1301c43270aSJacques Vidrine.It Li encrypt = Va boolean
1311c43270aSJacques VidrineUse encryption, when available.
1321c43270aSJacques Vidrine.It Li forward = Va boolean
1331c43270aSJacques VidrineForward credentials to remote host (for
1341c43270aSJacques Vidrine.Xr rsh 1 ,
1351c43270aSJacques Vidrine.Xr telnet 1 ,
1361c43270aSJacques Vidrineetc).
137adb0ddaeSAssar Westerlund.El
138b528cefcSMark Murray.It Li [libdefaults]
139b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent
140b528cefcSMark Murray.It Li default_realm = Va REALM
141b528cefcSMark MurrayDefault realm to use, this is also known as your
142b528cefcSMark Murray.Dq local realm .
143b528cefcSMark MurrayThe default is the result of
144b528cefcSMark Murray.Fn krb5_get_host_realm "local hostname" .
145b528cefcSMark Murray.It Li clockskew = Va time
146b528cefcSMark MurrayMaximum time differential (in seconds) allowed when comparing
147bbd80c28SJacques Vidrinetimes.
148bbd80c28SJacques VidrineDefault is 300 seconds (five minutes).
149b528cefcSMark Murray.It Li kdc_timeout = Va time
150b528cefcSMark MurrayMaximum time to wait for a reply from the kdc, default is 3 seconds.
151b528cefcSMark Murray.It v4_name_convert
152b528cefcSMark Murray.It v4_instance_resolve
153bbd80c28SJacques VidrineThese are described in the
154b528cefcSMark Murray.Xr krb5_425_conv_principal  3
155b528cefcSMark Murraymanual page.
1565e9cd1aeSAssar Westerlund.It Li capath = {
1575e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent
1585e9cd1aeSAssar Westerlund.It Va destination-realm Li = Va next-hop-realm
1595e9cd1aeSAssar Westerlund.It ...
1605e9cd1aeSAssar Westerlund.It Li }
1611c43270aSJacques Vidrine.El
1621c43270aSJacques VidrineThis is deprecated, see the
1631c43270aSJacques Vidrine.Li capaths
1641c43270aSJacques Vidrinesection below.
165b528cefcSMark Murray.It Li default_etypes = Va etypes ...
166bbd80c28SJacques VidrineA list of default encryption types to use.
167b528cefcSMark Murray.It Li default_etypes_des = Va etypes ...
168bbd80c28SJacques VidrineA list of default encryption types to use when requesting a DES credential.
169b528cefcSMark Murray.It Li default_keytab_name = Va keytab
170bbd80c28SJacques VidrineThe keytab to use if no other is specified, default is
171b528cefcSMark Murray.Dq FILE:/etc/krb5.keytab .
1728373020dSJacques Vidrine.It Li dns_lookup_kdc = Va boolean
1738373020dSJacques VidrineUse DNS SRV records to lookup KDC services location.
1748373020dSJacques Vidrine.It Li dns_lookup_realm = Va boolean
1758373020dSJacques VidrineUse DNS TXT records to lookup domain to realm mappings.
176b528cefcSMark Murray.It Li kdc_timesync = Va boolean
177b528cefcSMark MurrayTry to keep track of the time differential between the local machine
178b528cefcSMark Murrayand the KDC, and then compensate for that when issuing requests.
179b528cefcSMark Murray.It Li max_retries = Va number
180b528cefcSMark MurrayThe max number of times to try to contact each KDC.
181b528cefcSMark Murray.It Li ticket_lifetime = Va time
182b528cefcSMark MurrayDefault ticket lifetime.
183b528cefcSMark Murray.It Li renew_lifetime = Va time
184b528cefcSMark MurrayDefault renewable ticket lifetime.
185adb0ddaeSAssar Westerlund.It Li forwardable = Va boolean
186adb0ddaeSAssar WesterlundWhen obtaining initial credentials, make the credentials forwardable.
187adb0ddaeSAssar WesterlundThis option is also valid in the [realms] section.
188adb0ddaeSAssar Westerlund.It Li proxiable = Va boolean
189adb0ddaeSAssar WesterlundWhen obtaining initial credentials, make the credentials proxiable.
190adb0ddaeSAssar WesterlundThis option is also valid in the [realms] section.
191b528cefcSMark Murray.It Li verify_ap_req_nofail = Va boolean
1928373020dSJacques VidrineIf enabled, failure to verify credentials against a local key is a
193bbd80c28SJacques Vidrinefatal error.
194bbd80c28SJacques VidrineThe application has to be able to read the corresponding service key
195bbd80c28SJacques Vidrinefor this to work.
196bbd80c28SJacques VidrineSome applications, like
1971c43270aSJacques Vidrine.Xr su 1 ,
1988373020dSJacques Vidrineenable this option unconditionally.
199b528cefcSMark Murray.It Li warn_pwexpire = Va time
200bbd80c28SJacques VidrineHow soon to warn for expiring password.
201bbd80c28SJacques VidrineDefault is seven days.
202b528cefcSMark Murray.It Li http_proxy = Va proxy-spec
203b528cefcSMark MurrayA HTTP-proxy to use when talking to the KDC via HTTP.
204b528cefcSMark Murray.It Li dns_proxy = Va proxy-spec
205b528cefcSMark MurrayEnable using DNS via HTTP.
206b528cefcSMark Murray.It Li extra_addresses = Va address ...
207b528cefcSMark MurrayA list of addresses to get tickets for along with all local addresses.
208b528cefcSMark Murray.It Li time_format = Va string
209b528cefcSMark MurrayHow to print time strings in logs, this string is passed to
210b528cefcSMark Murray.Xr strftime 3 .
211adb0ddaeSAssar Westerlund.It Li date_format = Va string
212adb0ddaeSAssar WesterlundHow to print date strings in logs, this string is passed to
213adb0ddaeSAssar Westerlund.Xr strftime 3 .
214b528cefcSMark Murray.It Li log_utc = Va boolean
215b528cefcSMark MurrayWrite log-entries using UTC instead of your local time zone.
216adb0ddaeSAssar Westerlund.It Li scan_interfaces = Va boolean
217adb0ddaeSAssar WesterlundScan all network interfaces for addresses, as opposed to simply using
218adb0ddaeSAssar Westerlundthe address associated with the system's host name.
219adb0ddaeSAssar Westerlund.It Li fcache_version = Va int
220adb0ddaeSAssar WesterlundUse file credential cache format version specified.
221adb0ddaeSAssar Westerlund.It Li krb4_get_tickets = Va boolean
222adb0ddaeSAssar WesterlundAlso get Kerberos 4 tickets in
2234137ff4cSJacques Vidrine.Nm kinit ,
2244137ff4cSJacques Vidrine.Nm login ,
225adb0ddaeSAssar Westerlundand other programs.
226adb0ddaeSAssar WesterlundThis option is also valid in the [realms] section.
2271c43270aSJacques Vidrine.It Li fcc-mit-ticketflags = Va boolean
2281c43270aSJacques VidrineUse MIT compatible format for file credential cache.
2291c43270aSJacques VidrineIt's the field ticketflags that is stored in reverse bit order for
2301c43270aSJacques Vidrineolder than Heimdal 0.7.
2311c43270aSJacques VidrineSetting this flag to
2321c43270aSJacques Vidrine.Dv TRUE
2331c43270aSJacques Vidrinemake it store the MIT way, this is default for Heimdal 0.7.
234b528cefcSMark Murray.El
235b528cefcSMark Murray.It Li [domain_realm]
236bbd80c28SJacques VidrineThis is a list of mappings from DNS domain to Kerberos realm.
237bbd80c28SJacques VidrineEach binding in this section looks like:
238b528cefcSMark Murray.Pp
239b528cefcSMark Murray.Dl domain = realm
240b528cefcSMark Murray.Pp
241b528cefcSMark MurrayThe domain can be either a full name of a host or a trailing
242b528cefcSMark Murraycomponent, in the latter case the domain-string should start with a
243bbd80c28SJacques Vidrineperiod.
2448373020dSJacques VidrineThe realm may be the token `dns_locate', in which case the actual
2458373020dSJacques Vidrinerealm will be determined using DNS (independently of the setting
2468373020dSJacques Vidrineof the `dns_lookup_realm' option).
247b528cefcSMark Murray.It Li [realms]
248b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent
249b528cefcSMark Murray.It Va REALM Li = {
250b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent
251bbd80c28SJacques Vidrine.It Li kdc = Va [service/]host[:port]
252bbd80c28SJacques VidrineSpecifies a list of kdcs for this realm.
253bbd80c28SJacques VidrineIf the optional
254bbd80c28SJacques Vidrine.Va port
255bbd80c28SJacques Vidrineis absent, the
256b528cefcSMark Murraydefault value for the
257b528cefcSMark Murray.Dq kerberos/udp
258bbd80c28SJacques Vidrine.Dq kerberos/tcp ,
259bbd80c28SJacques Vidrineand
260bbd80c28SJacques Vidrine.Dq http/tcp
261bbd80c28SJacques Vidrineport (depending on service) will be used.
2625e9cd1aeSAssar WesterlundThe kdcs will be used in the order that they are specified.
263bbd80c28SJacques Vidrine.Pp
264bbd80c28SJacques VidrineThe optional
265bbd80c28SJacques Vidrine.Va service
266bbd80c28SJacques Vidrinespecifies over what medium the kdc should be
267bbd80c28SJacques Vidrinecontacted.
268bbd80c28SJacques VidrinePossible services are
269bbd80c28SJacques Vidrine.Dq udp ,
270bbd80c28SJacques Vidrine.Dq tcp ,
271bbd80c28SJacques Vidrineand
272bbd80c28SJacques Vidrine.Dq http .
273bbd80c28SJacques VidrineHttp can also be written as
274bbd80c28SJacques Vidrine.Dq http:// .
275bbd80c28SJacques VidrineDefault service is
276bbd80c28SJacques Vidrine.Dq udp
277bbd80c28SJacques Vidrineand
278bbd80c28SJacques Vidrine.Dq tcp .
2795e9cd1aeSAssar Westerlund.It Li admin_server = Va host[:port]
2805e9cd1aeSAssar WesterlundSpecifies the admin server for this realm, where all the modifications
281bbd80c28SJacques Vidrineto the database are performed.
2825e9cd1aeSAssar Westerlund.It Li kpasswd_server = Va host[:port]
283bbd80c28SJacques VidrinePoints to the server where all the password changes are performed.
2845e9cd1aeSAssar WesterlundIf there is no such entry, the kpasswd port on the admin_server host
2855e9cd1aeSAssar Westerlundwill be tried.
286bbd80c28SJacques Vidrine.It Li krb524_server = Va host[:port]
287bbd80c28SJacques VidrinePoints to the server that does 524 conversions.
288bbd80c28SJacques VidrineIf it is not mentioned, the krb524 port on the kdcs will be tried.
289b528cefcSMark Murray.It Li v4_instance_convert
290b528cefcSMark Murray.It Li v4_name_convert
291b528cefcSMark Murray.It Li default_domain
292b528cefcSMark MurraySee
293b528cefcSMark Murray.Xr krb5_425_conv_principal 3 .
2941c43270aSJacques Vidrine.It Li tgs_require_subkey
2951c43270aSJacques Vidrinea boolan variable that defaults to false.
2961c43270aSJacques VidrineOld DCE secd (pre 1.1) might need this to be true.
297b528cefcSMark Murray.El
298b528cefcSMark Murray.It Li }
299b528cefcSMark Murray.El
3001c43270aSJacques Vidrine.It Li [capaths]
3011c43270aSJacques Vidrine.Bl -tag -width "xxx" -offset indent
3021c43270aSJacques Vidrine.It Va client-realm Li = {
3031c43270aSJacques Vidrine.Bl -tag -width "xxx" -offset indent
3041c43270aSJacques Vidrine.It Va server-realm Li = Va hop-realm ...
3051c43270aSJacques VidrineThis serves two purposes. First the first listed
3061c43270aSJacques Vidrine.Va hop-realm
3071c43270aSJacques Vidrinetells a client which realm it should contact in order to ultimately
3081c43270aSJacques Vidrineobtain credentials for a service in the
3091c43270aSJacques Vidrine.Va server-realm .
3101c43270aSJacques VidrineSecondly, it tells the KDC (and other servers) which realms are
3111c43270aSJacques Vidrineallowed in a multi-hop traversal from
3121c43270aSJacques Vidrine.Va client-realm
3131c43270aSJacques Vidrineto
3141c43270aSJacques Vidrine.Va server-realm .
3151c43270aSJacques VidrineExcept for the client case, the order of the realms are not important.
3161c43270aSJacques Vidrine.El
3171c43270aSJacques Vidrine.It Va }
3181c43270aSJacques Vidrine.El
319b528cefcSMark Murray.It Li [logging]
320b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent
321b528cefcSMark Murray.It Va entity Li = Va destination
322b528cefcSMark MurraySpecifies that
323b528cefcSMark Murray.Va entity
324b528cefcSMark Murrayshould use the specified
325b528cefcSMark Murray.Li destination
326bbd80c28SJacques Vidrinefor logging.
327bbd80c28SJacques VidrineSee the
328b528cefcSMark Murray.Xr krb5_openlog 3
329b528cefcSMark Murraymanual page for a list of defined destinations.
330b528cefcSMark Murray.El
3315e9cd1aeSAssar Westerlund.It Li [kdc]
3325e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent
3335e9cd1aeSAssar Westerlund.It database Li = {
3345e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent
3355e9cd1aeSAssar Westerlund.It dbname Li = Va DATABASENAME
336bbd80c28SJacques VidrineUse this database for this realm.
3375e9cd1aeSAssar Westerlund.It realm Li = Va REALM
338bbd80c28SJacques VidrineSpecifies the realm that will be stored in this database.
3395e9cd1aeSAssar Westerlund.It mkey_file Li = Pa FILENAME
340bbd80c28SJacques VidrineUse this keytab file for the master key of this database.
3415e9cd1aeSAssar WesterlundIf not specified
3425e9cd1aeSAssar Westerlund.Va DATABASENAME Ns .mkey
3435e9cd1aeSAssar Westerlundwill be used.
3445e9cd1aeSAssar Westerlund.It acl_file Li = PA FILENAME
345bbd80c28SJacques VidrineUse this file for the ACL list of this database.
3465e9cd1aeSAssar Westerlund.It log_file Li = Pa FILENAME
347bbd80c28SJacques VidrineUse this file as the log of changes performed to the database.
348bbd80c28SJacques VidrineThis file is used by
3495e9cd1aeSAssar Westerlund.Nm ipropd-master
3505e9cd1aeSAssar Westerlundfor propagating changes to slaves.
351b528cefcSMark Murray.El
3525e9cd1aeSAssar Westerlund.It Li }
3535e9cd1aeSAssar Westerlund.It max-request = Va SIZE
3545e9cd1aeSAssar WesterlundMaximum size of a kdc request.
3555e9cd1aeSAssar Westerlund.It require-preauth = Va BOOL
356bbd80c28SJacques VidrineIf set pre-authentication is required.
357bbd80c28SJacques VidrineSince krb4 requests are not pre-authenticated they will be rejected.
3585e9cd1aeSAssar Westerlund.It ports = Va "list of ports"
359bbd80c28SJacques VidrineList of ports the kdc should listen to.
3605e9cd1aeSAssar Westerlund.It addresses = Va "list of interfaces"
361bbd80c28SJacques VidrineList of addresses the kdc should bind to.
3625e9cd1aeSAssar Westerlund.It enable-kerberos4 = Va BOOL
363bbd80c28SJacques VidrineTurn on Kerberos 4 support.
3645e9cd1aeSAssar Westerlund.It v4-realm = Va REALM
365bbd80c28SJacques VidrineTo what realm v4 requests should be mapped.
3665e9cd1aeSAssar Westerlund.It enable-524 = Va BOOL
367bbd80c28SJacques VidrineShould the Kerberos 524 converting facility be turned on.
368bbd80c28SJacques VidrineDefault is same as
3695e9cd1aeSAssar Westerlund.Va enable-kerberos4 .
3705e9cd1aeSAssar Westerlund.It enable-http = Va BOOL
371bbd80c28SJacques VidrineShould the kdc answer kdc-requests over http.
3725e9cd1aeSAssar Westerlund.It enable-kaserver = Va BOOL
373bbd80c28SJacques VidrineIf this kdc should emulate the AFS kaserver.
3745e9cd1aeSAssar Westerlund.It check-ticket-addresses = Va BOOL
3755e9cd1aeSAssar Westerlundverify the addresses in the tickets used in tgs requests.
3765e9cd1aeSAssar Westerlund.\" XXX
3775e9cd1aeSAssar Westerlund.It allow-null-ticket-addresses = Va BOOL
378bbd80c28SJacques VidrineAllow addresses-less tickets.
3795e9cd1aeSAssar Westerlund.\" XXX
3805e9cd1aeSAssar Westerlund.It allow-anonymous = Va BOOL
381bbd80c28SJacques VidrineIf the kdc is allowed to hand out anonymous tickets.
3825e9cd1aeSAssar Westerlund.It encode_as_rep_as_tgs_rep = Va BOOL
383bbd80c28SJacques VidrineEncode as-rep as tgs-rep tobe compatible with mistakes older DCE secd did.
3845e9cd1aeSAssar Westerlund.\" XXX
3855e9cd1aeSAssar Westerlund.It kdc_warn_pwexpire = Va TIME
386bbd80c28SJacques VidrineThe time before expiration that the user should be warned that her
3875e9cd1aeSAssar Westerlundpassword is about to expire.
3885e9cd1aeSAssar Westerlund.It logging = Va Logging
3895e9cd1aeSAssar WesterlundWhat type of logging the kdc should use, see also [logging]/kdc.
390bbd80c28SJacques Vidrine.It use_2b = Va principal list
391bbd80c28SJacques VidrineList of principals to use AFS 2b tokens for.
3925e9cd1aeSAssar Westerlund.El
3935e9cd1aeSAssar Westerlund.It Li [kadmin]
3945e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent
3955e9cd1aeSAssar Westerlund.It require-preauth = Va BOOL
3965e9cd1aeSAssar WesterlundIf pre-authentication is required to talk to the kadmin server.
3975e9cd1aeSAssar Westerlund.It default_keys = Va keytypes...
3985e9cd1aeSAssar Westerlundfor each entry in
3995e9cd1aeSAssar Westerlund.Va default_keys
4005e9cd1aeSAssar Westerlundtry to parse it as a sequence of
4015e9cd1aeSAssar Westerlund.Va etype:salttype:salt
4025e9cd1aeSAssar Westerlundsyntax of this if something like:
4035e9cd1aeSAssar Westerlund.Pp
4045e9cd1aeSAssar Westerlund[(des|des3|etype):](pw-salt|afs3-salt)[:string]
4055e9cd1aeSAssar Westerlund.Pp
406bbd80c28SJacques VidrineIf
4075e9cd1aeSAssar Westerlund.Ar etype
408bbd80c28SJacques Vidrineis omitted it means everything, and if string is omitted it means the
409bbd80c28SJacques Vidrinedefault salt string (for that principal and encryption type).
410bbd80c28SJacques VidrineAdditional special values of keytypes are:
4115e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent
4125e9cd1aeSAssar Westerlund.It v5
413bbd80c28SJacques VidrineThe Kerberos 5 salt
4145e9cd1aeSAssar Westerlund.Va pw-salt
4155e9cd1aeSAssar Westerlund.It v4
416bbd80c28SJacques VidrineThe Kerberos 4 salt
4175e9cd1aeSAssar Westerlund.Va des:pw-salt:
4185e9cd1aeSAssar Westerlund.El
4195e9cd1aeSAssar Westerlund.It use_v4_salt = Va BOOL
4205e9cd1aeSAssar WesterlundWhen true, this is the same as
4215e9cd1aeSAssar Westerlund.Pp
4225e9cd1aeSAssar Westerlund.Va default_keys = Va des3:pw-salt Va v4
4235e9cd1aeSAssar Westerlund.Pp
424bbd80c28SJacques Vidrineand is only left for backwards compatibility.
4255e9cd1aeSAssar Westerlund.El
4265e9cd1aeSAssar Westerlund.El
4275e9cd1aeSAssar Westerlund.Sh ENVIRONMENT
4285e9cd1aeSAssar Westerlund.Ev KRB5_CONFIG
4295e9cd1aeSAssar Westerlundpoints to the configuration file to read.
4301c43270aSJacques Vidrine.Sh FILES
4311c43270aSJacques Vidrine.Bl -tag -width "/etc/krb5.conf"
4321c43270aSJacques Vidrine.It Pa /etc/krb5.conf
4331c43270aSJacques Vidrineconfiguration file for Kerberos 5.
4341c43270aSJacques Vidrine.El
4351c43270aSJacques Vidrine.Sh EXAMPLES
436b528cefcSMark Murray.Bd -literal -offset indent
437adb0ddaeSAssar Westerlund[libdefaults]
438adb0ddaeSAssar Westerlund	default_realm = FOO.SE
439b528cefcSMark Murray[domain_realm]
440b528cefcSMark Murray	.foo.se = FOO.SE
441b528cefcSMark Murray	.bar.se = FOO.SE
442b528cefcSMark Murray[realms]
443b528cefcSMark Murray	FOO.SE = {
444b528cefcSMark Murray		kdc = kerberos.foo.se
445b528cefcSMark Murray		v4_name_convert = {
446b528cefcSMark Murray			rcmd = host
447b528cefcSMark Murray		}
448b528cefcSMark Murray		v4_instance_convert = {
449b528cefcSMark Murray			xyz = xyz.bar.se
450b528cefcSMark Murray		}
451b528cefcSMark Murray		default_domain = foo.se
452b528cefcSMark Murray	}
453b528cefcSMark Murray[logging]
454b528cefcSMark Murray	kdc = FILE:/var/heimdal/kdc.log
455b528cefcSMark Murray	kdc = SYSLOG:INFO
456b528cefcSMark Murray	default = SYSLOG:INFO:USER
457b528cefcSMark Murray.Ed
4585e9cd1aeSAssar Westerlund.Sh DIAGNOSTICS
4595e9cd1aeSAssar WesterlundSince
4605e9cd1aeSAssar Westerlund.Nm
4615e9cd1aeSAssar Westerlundis read and parsed by the krb5 library, there is not a lot of
4625e9cd1aeSAssar Westerlundopportunities for programs to report parsing errors in any useful
4635e9cd1aeSAssar Westerlundformat.
4645e9cd1aeSAssar WesterlundTo help overcome this problem, there is a program
4655e9cd1aeSAssar Westerlund.Nm verify_krb5_conf
4665e9cd1aeSAssar Westerlundthat reads
4675e9cd1aeSAssar Westerlund.Nm
468bbd80c28SJacques Vidrineand tries to emit useful diagnostics from parsing errors.
469bbd80c28SJacques VidrineNote that this program does not have any way of knowing what options
470bbd80c28SJacques Vidrineare actually used and thus cannot warn about unknown or misspelled
471bbd80c28SJacques Vidrineones.
472b528cefcSMark Murray.Sh SEE ALSO
473adb0ddaeSAssar Westerlund.Xr kinit 1 ,
4744137ff4cSJacques Vidrine.Xr krb5_425_conv_principal 3 ,
4754137ff4cSJacques Vidrine.Xr krb5_openlog 3 ,
4764137ff4cSJacques Vidrine.Xr strftime 3 ,
4774137ff4cSJacques Vidrine.Xr verify_krb5_conf 8
478