Document kx509 parameters
[heimdal.git] / lib / krb5 / krb5.conf.5
blob5adedf8ed36ae36ea17f1061afcfa6d549dd4952
1 .\" Copyright (c) 1999 - 2005 Kungliga Tekniska Högskolan
2 .\" (Royal Institute of Technology, Stockholm, Sweden).
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\"
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\"    notice, this list of conditions and the following disclaimer.
11 .\"
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.
15 .\"
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.
19 .\"
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
30 .\" SUCH DAMAGE.
31 .\"
32 .\" $Id$
33 .\"
34 .Dd May  4, 2005
35 .Dt KRB5.CONF 5
36 .Os HEIMDAL
37 .Sh NAME
38 .Nm krb5.conf
39 .Nd configuration file for Kerberos 5
40 .Sh SYNOPSIS
41 .In krb5.h
42 .Sh DESCRIPTION
43 The
44 .Nm
45 file specifies several configuration parameters for the Kerberos 5
46 library, as well as for some programs.
47 .Pp
48 The file consists of one or more sections, containing a number of
49 bindings.
50 The value of each binding can be either a string or a list of other
51 bindings.
52 The grammar looks like:
53 .Bd -literal -offset indent
54 file:
55         /* empty */
56         sections
58 sections:
59         section sections
60         section
62 section:
63         '[' section_name ']' bindings
65 section_name:
66         STRING
68 bindings:
69         binding bindings
70         binding
72 binding:
73         name '=' STRING
74         name '=' '{' bindings '}'
76 name:
77         STRING
79 .Ed
80 .Li STRINGs
81 consists of one or more non-whitespace characters.
82 .Pp
83 STRINGs that are specified later in this man-page uses the following
84 notation.
85 .Bl -tag -width "xxx" -offset indent
86 .It boolean
87 values can be either yes/true or no/false.
88 .It time
89 values can be a list of year, month, day, hour, min, second.
90 Example: 1 month 2 days 30 min.
91 If no unit is given, seconds is assumed.
92 .It etypes
93 valid encryption types are: des-cbc-crc, des-cbc-md4, des-cbc-md5,
94 des3-cbc-sha1, arcfour-hmac-md5, aes128-cts-hmac-sha1-96, and
95 aes256-cts-hmac-sha1-96 .
96 .It address
97 an address can be either a IPv4 or a IPv6 address.
98 .El
99 .Pp
100 Currently recognised sections and bindings are:
101 .Bl -tag -width "xxx" -offset indent
102 .It Li [appdefaults]
103 Specifies the default values to be used for Kerberos applications.
104 You can specify defaults per application, realm, or a combination of
105 these.
106 The preference order is:
107 .Bl -enum -compact
109 .Va application Va realm Va option
111 .Va application Va option
113 .Va realm Va option
115 .Va option
118 The supported options are:
119 .Bl -tag -width "xxx" -offset indent
120 .It Li forwardable = Va boolean
121 When obtaining initial credentials, make the credentials forwardable.
122 .It Li proxiable = Va boolean
123 When obtaining initial credentials, make the credentials proxiable.
124 .It Li no-addresses = Va boolean
125 When obtaining initial credentials, request them for an empty set of
126 addresses, making the tickets valid from any address.
127 .It Li ticket_lifetime = Va time
128 Default ticket lifetime.
129 .It Li renew_lifetime = Va time
130 Default renewable ticket lifetime.
131 .It Li encrypt = Va boolean
132 Use encryption, when available.
133 .It Li forward = Va boolean
134 Forward credentials to remote host (for
135 .Xr rsh 1 ,
136 .Xr telnet 1 ,
137 etc).
139 .It Li [libdefaults]
140 .Bl -tag -width "xxx" -offset indent
141 .It Li default_realm = Va REALM
142 Default realm to use, this is also known as your
143 .Dq local realm .
144 The default is the result of
145 .Fn krb5_get_host_realm "local hostname" .
146 .It Li allow_weak_crypto = Va boolean
147 is weaks crypto algorithms allowed to be used, among others, DES is
148 considered weak.
149 .It Li clockskew = Va time
150 Maximum time differential (in seconds) allowed when comparing
151 times.
152 Default is 300 seconds (five minutes).
153 .It Li kdc_timeout = Va time
154 Maximum time to wait for a reply from the kdc, default is 3 seconds.
155 .It Li v4_name_convert
156 .It Li v4_instance_resolve
157 These are described in the
158 .Xr krb5_425_conv_principal  3
159 manual page.
160 .It Li capath = {
161 .Bl -tag -width "xxx" -offset indent
162 .It Va destination-realm Li = Va next-hop-realm
163 .It ...
164 .It Li }
166 This is deprecated, see the
167 .Li capaths
168 section below.
169 .It Li default_cc_type = Va cctype
170 sets the default credentials type.
171 .It Li default_cc_name = Va ccname
172 the default credentials cache name.
173 If you want to change the type only use
174 .Li default_cc_type .
175 The string can contain variables that are expanded on runtime.
176 Only support variable now is
177 .Li %{uid}
178 that expands to the current user id.
179 .It Li default_etypes = Va etypes ...
180 A list of default encryption types to use. (Default: all enctypes if
181 allow_weak_crypto = TRUE, else all enctypes except single DES enctypes.)
182 .It Li default_as_etypes = Va etypes ...
183 A list of default encryption types to use in AS requests.  (Default: the
184 value of default_etypes.)
185 .It Li default_tgs_etypes = Va etypes ...
186 A list of default encryption types to use in TGS requests.  (Default:
187 the value of default_etypes.)
188 .It Li default_etypes_des = Va etypes ...
189 A list of default encryption types to use when requesting a DES credential.
190 .It Li default_keytab_name = Va keytab
191 The keytab to use if no other is specified, default is
192 .Dq FILE:/etc/krb5.keytab .
193 .It Li dns_lookup_kdc = Va boolean
194 Use DNS SRV records to lookup KDC services location.
195 .It Li dns_lookup_realm = Va boolean
196 Use DNS TXT records to lookup domain to realm mappings.
197 .It Li kdc_timesync = Va boolean
198 Try to keep track of the time differential between the local machine
199 and the KDC, and then compensate for that when issuing requests.
200 .It Li max_retries = Va number
201 The max number of times to try to contact each KDC.
202 .It Li large_msg_size = Va number
203 The threshold where protocols with tiny maximum message sizes are not
204 considered usable to send messages to the KDC.
205 .It Li ticket_lifetime = Va time
206 Default ticket lifetime.
207 .It Li renew_lifetime = Va time
208 Default renewable ticket lifetime.
209 .It Li forwardable = Va boolean
210 When obtaining initial credentials, make the credentials forwardable.
211 This option is also valid in the [realms] section.
212 .It Li proxiable = Va boolean
213 When obtaining initial credentials, make the credentials proxiable.
214 This option is also valid in the [realms] section.
215 .It Li verify_ap_req_nofail = Va boolean
216 If enabled, failure to verify credentials against a local key is a
217 fatal error.
218 The application has to be able to read the corresponding service key
219 for this to work.
220 Some applications, like
221 .Xr su 1 ,
222 enable this option unconditionally.
223 .It Li warn_pwexpire = Va time
224 How soon to warn for expiring password.
225 Default is seven days.
226 .It Li http_proxy = Va proxy-spec
227 A HTTP-proxy to use when talking to the KDC via HTTP.
228 .It Li dns_proxy = Va proxy-spec
229 Enable using DNS via HTTP.
230 .It Li extra_addresses = Va address ...
231 A list of addresses to get tickets for along with all local addresses.
232 .It Li time_format = Va string
233 How to print time strings in logs, this string is passed to
234 .Xr strftime 3 .
235 .It Li date_format = Va string
236 How to print date strings in logs, this string is passed to
237 .Xr strftime 3 .
238 .It Li log_utc = Va boolean
239 Write log-entries using UTC instead of your local time zone.
240 .It Li scan_interfaces = Va boolean
241 Scan all network interfaces for addresses, as opposed to simply using
242 the address associated with the system's host name.
243 .It Li fcache_version = Va int
244 Use file credential cache format version specified.
245 .It Li krb4_get_tickets = Va boolean
246 Also get Kerberos 4 tickets in
247 .Nm kinit ,
248 .Nm login ,
249 and other programs.
250 This option is also valid in the [realms] section.
251 .It Li fcc-mit-ticketflags = Va boolean
252 Use MIT compatible format for file credential cache.
253 It's the field ticketflags that is stored in reverse bit order for
254 older than Heimdal 0.7.
255 Setting this flag to
256 .Dv TRUE
257 make it store the MIT way, this is default for Heimdal 0.7.
258 .It Li check-rd-req-server
259 If set to "ignore", the framework will ignore any the server input to
260 .Xr krb5_rd_req 3,
261 this is very useful when the GSS-API server input the
262 wrong server name into the gss_accept_sec_context call.
263 .It Li k5login_directory = Va directory
264 Alternative location for user .k5login files. This option is provided
265 for compatibility with MIT krb5 configuration files.
266 .It Li k5login_authoritative = Va boolean
267 If true then if a principal is not found in k5login files then
268 .Xr krb5_userok 3
269 will not fallback on principal to username mapping. This option is
270 provided for compatibility with MIT krb5 configuration files.
271 .It Li kuserok = Va rule ...
272 Specifies
273 .Xr krb5_userok 3
274 behavior.  If multiple values are given, then
275 .Xr krb5_userok 3
276 will evaluate them in order until one succeeds or all fail.  Rules are
277 implemented by plugins, with three built-in plugins
278 described below. Default: USER-K5LOGIN SIMPLE DENY.
279 .It Li kuserok = Va DENY
280 If set and evaluated then
281 .Xr krb5_userok 3
282 will deny access to the given username no matter what the principal name
283 might be.
284 .It Li kuserok = Va SIMPLE
285 If set and evaluated then
286 .Xr krb5_userok 3
287 will use principal to username mapping (see auth_to_local below).  If
288 the principal maps to the requested username then access is allowed.
289 .It Li kuserok = Va SYSTEM-K5LOGIN[:directory]
290 If set and evaluated then
291 .Xr krb5_userok 3
292 will use k5login files named after the
293 .Va luser
294 argument to
295 .Xr krb5_userok 3
296 in the given directory or in
297 .Pa /etc/k5login.d/ .
298 K5login files are text files, with each line containing just a principal
299 name; principals apearing in a user's k5login file are permitted access
300 to the user's account. Note: this rule performs no ownership nor
301 permissions checks on k5login files; proper ownership and
302 permissions/ACLs are expected due to the system k5login location being a
303 system location.
304 .It Li kuserok = Va USER-K5LOGIN
305 If set and evaluated then
306 .Xr krb5_userok 3
307 will use
308 .Pa ~luser/.k5login
310 .Pa ~luser/.k5login.d/* .
311 User k5login files and directories must be owned by the user and must
312 not have world nor group write permissions.
313 .It Li aname2lname-text-db = Va filename
314 The named file must be a sorted (in increasing order) text file where
315 every line consists of an unparsed principal name optionally followed by
316 whitespace and a username.  The aname2lname function will do a binary
317 search on this file, if configured, looking for lines that match the
318 given principal name, and if found the given username will be used, or,
319 if the username is missing, an error will be returned.  If the file
320 doesn't exist, or if no matching line is found then other plugins will
321 be allowed to run.
322 .It Li fcache_strict_checking
323 strict checking in FILE credential caches that owner, no symlink and
324 permissions is correct.
326 .It Li [domain_realm]
327 This is a list of mappings from DNS domain to Kerberos realm.
328 Each binding in this section looks like:
330 .Dl domain = realm
332 The domain can be either a full name of a host or a trailing
333 component, in the latter case the domain-string should start with a
334 period.
335 The trailing component only matches hosts that are in the same domain, ie
336 .Dq .example.com
337 matches
338 .Dq foo.example.com ,
339 but not
340 .Dq foo.test.example.com .
342 The realm may be the token `dns_locate', in which case the actual
343 realm will be determined using DNS (independently of the setting
344 of the `dns_lookup_realm' option).
345 .It Li [realms]
346 .Bl -tag -width "xxx" -offset indent
347 .It Va REALM Li = {
348 .Bl -tag -width "xxx" -offset indent
349 .It Li kdc = Va [service/]host[:port]
350 Specifies a list of kdcs for this realm.
351 If the optional
352 .Va port
353 is absent, the
354 default value for the
355 .Dq kerberos/udp
356 .Dq kerberos/tcp ,
358 .Dq http/tcp
359 port (depending on service) will be used.
360 The kdcs will be used in the order that they are specified.
362 The optional
363 .Va service
364 specifies over what medium the kdc should be
365 contacted.
366 Possible services are
367 .Dq udp ,
368 .Dq tcp ,
370 .Dq http .
371 Http can also be written as
372 .Dq http:// .
373 Default service is
374 .Dq udp
376 .Dq tcp .
377 .It Li admin_server = Va host[:port]
378 Specifies the admin server for this realm, where all the modifications
379 to the database are performed.
380 .It Li kpasswd_server = Va host[:port]
381 Points to the server where all the password changes are performed.
382 If there is no such entry, the kpasswd port on the admin_server host
383 will be tried.
384 .It Li krb524_server = Va host[:port]
385 Points to the server that does 524 conversions.
386 If it is not mentioned, the krb524 port on the kdcs will be tried.
387 .It Li v4_instance_convert
388 .It Li v4_name_convert
389 .It Li default_domain
391 .Xr krb5_425_conv_principal 3 .
392 .It Li tgs_require_subkey
393 a boolan variable that defaults to false.
394 Old DCE secd (pre 1.1) might need this to be true.
395 .It Li auth_to_local_names = {
396 .Bl -tag -width "xxx" -offset indent
397 .It Va principal_name = Va username
398 The given
399 .Va principal_name
400 will be mapped to the given
401 .Va username
402 if the
403 .Va REALM
404 is a default realm.
406 .It Li }
407 .It Li auth_to_local = HEIMDAL_DEFAULT
408 Use the Heimdal default principal to username mapping.
409 Applies to principals from the
410 .Va REALM
411 if and only if
412 .Va REALM
413 is a default realm.
414 .It Li auth_to_local = DEFAULT
415 Use the MIT default principal to username mapping.
416 Applies to principals from the
417 .Va REALM
418 if and only if
419 .Va REALM
420 is a default realm.
421 .It Li auth_to_local = DB:/path/to/db.txt
422 Use a binary search of the given DB.  The DB must be a flat-text
423 file sortedf in the "C" locale, with each record being a line
424 (separated by either LF or CRLF) consisting of a principal name
425 followed by whitespace followed by a username.
426 Applies to principals from the
427 .Va REALM
428 if and only if
429 .Va REALM
430 is a default realm.
431 .It Li auth_to_local = DB:/path/to/db
432 Use the given DB, if there's a plugin for it.
433 Applies to principals from the
434 .Va REALM
435 if and only if
436 .Va REALM
437 is a default realm.
438 .It Li auth_to_local = RULE:...
439 Use the given rule, if there's a plugin for it.
440 Applies to principals from the
441 .Va REALM
442 if and only if
443 .Va REALM
444 is a default realm.
445 .It Li auth_to_local = NONE
446 No additional principal to username mapping is done. Note that
447 .Va auth_to_local_names
448 and any preceding
449 .Va auth_to_local
450 rules have precedence.
452 .It Li }
454 .It Li [capaths]
455 .Bl -tag -width "xxx" -offset indent
456 .It Va client-realm Li = {
457 .Bl -tag -width "xxx" -offset indent
458 .It Va server-realm Li = Va hop-realm ...
459 This serves two purposes. First the first listed
460 .Va hop-realm
461 tells a client which realm it should contact in order to ultimately
462 obtain credentials for a service in the
463 .Va server-realm .
464 Secondly, it tells the KDC (and other servers) which realms are
465 allowed in a multi-hop traversal from
466 .Va client-realm
468 .Va server-realm .
469 Except for the client case, the order of the realms are not important.
471 .It Va }
473 .It Li [logging]
474 .Bl -tag -width "xxx" -offset indent
475 .It Va entity Li = Va destination
476 Specifies that
477 .Va entity
478 should use the specified
479 .Li destination
480 for logging.
481 See the
482 .Xr krb5_openlog 3
483 manual page for a list of defined destinations.
485 .It Li [kdc]
486 .Bl -tag -width "xxx" -offset indent
487 .It Li database Li = {
488 .Bl -tag -width "xxx" -offset indent
489 .It Li dbname Li = Va DATABASENAME
490 Use this database for this realm.
491 See the info documetation how to configure different database backends.
492 .It Li realm Li = Va REALM
493 Specifies the realm that will be stored in this database.
494 It realm isn't set, it will used as the default database, there can
495 only be one entry that doesn't have a
496 .Li realm
497 stanza.
498 .It Li mkey_file Li = Pa FILENAME
499 Use this keytab file for the master key of this database.
500 If not specified
501 .Va DATABASENAME Ns .mkey
502 will be used.
503 .It Li acl_file Li = PA FILENAME
504 Use this file for the ACL list of this database.
505 .It Li log_file Li = Pa FILENAME
506 Use this file as the log of changes performed to the database.
507 This file is used by
508 .Nm ipropd-master
509 for propagating changes to slaves.
511 .It Li }
512 .It Li max-request = Va SIZE
513 Maximum size of a kdc request.
514 .It Li require-preauth = Va BOOL
515 If set pre-authentication is required.
516 Since krb4 requests are not pre-authenticated they will be rejected.
517 .It Li ports = Va "list of ports"
518 List of ports the kdc should listen to.
519 .It Li addresses = Va "list of interfaces"
520 List of addresses the kdc should bind to.
521 .It Li enable-kerberos4 = Va BOOL
522 Turn on Kerberos 4 support.
523 .It Li v4-realm = Va REALM
524 To what realm v4 requests should be mapped.
525 .It Li enable-524 = Va BOOL
526 Should the Kerberos 524 converting facility be turned on.
527 Default is the same as
528 .Va enable-kerberos4 .
529 .It Li enable-http = Va BOOL
530 Should the kdc answer kdc-requests over http.
531 .It Li tgt-use-strongest-session-key = Va BOOL
532 If this is TRUE then the KDC will prefer the strongest key from the
533 client's AS-REQ or TGS-REQ enctype list for the ticket session key that
534 is supported by the KDC and the target principal when the target
535 principal is a krbtgt principal.  Else it will prefer the first key from
536 the client's AS-REQ enctype list that is also supported by the KDC and
537 the target principal.  Defaults to FALSE.
538 .It Li svc-use-strongest-session-key = Va BOOL
539 Like tgt-use-strongest-session-key, but applies to the session key
540 enctype of tickets for services other than krbtgt principals. Defaults
541 to FALSE.
542 .It Li preauth-use-strongest-session-key = Va BOOL
543 If TRUE then select the strongest possible enctype from the client's
544 AS-REQ for PA-ETYPE-INFO2 (i.e., for password-based pre-authentication).
545 Else pick the first supported enctype from the client's AS-REQ.  Defaults
546 to FALSE.
547 .It Li use-strongest-server-key = Va BOOL
548 If TRUE then the KDC picks, for the ticket encrypted part's key, the
549 first supported enctype from the target service principal's hdb entry's
550 current keyset. Else the KDC picks the first supported enctype from the
551 target service principal's hdb entry's current keyset.  Defaults to TRUE.
552 .It Li check-ticket-addresses = Va BOOL
553 Verify the addresses in the tickets used in tgs requests.
554 .\" XXX
555 .It Li allow-null-ticket-addresses = Va BOOL
556 Allow address-less tickets.
557 .\" XXX
558 .It Li allow-anonymous = Va BOOL
559 If the kdc is allowed to hand out anonymous tickets.
560 .It Li encode_as_rep_as_tgs_rep = Va BOOL
561 Encode as-rep as tgs-rep tobe compatible with mistakes older DCE secd did.
562 .\" XXX
563 .It Li kdc_warn_pwexpire = Va TIME
564 The time before expiration that the user should be warned that her
565 password is about to expire.
566 .It Li logging = Va Logging
567 What type of logging the kdc should use, see also [logging]/kdc.
568 .It Li use_2b = {
569 .Bl -tag -width "xxx" -offset indent
570 .It Va principal Li = Va BOOL
571 boolean value if the 524 daemon should return AFS 2b tokens for
572 .Fa principal .
573 .It ...
575 .It Li }
576 .It Li hdb-ldap-structural-object Va structural object
577 If the LDAP backend is used for storing principals, this is the
578 structural object that will be used when creating and when reading
579 objects.
580 The default value is account .
581 .It Li hdb-ldap-create-base Va creation dn
582 is the dn that will be appended to the principal when creating entries.
583 Default value is the search dn.
584 .It Li enable-digest = Va BOOL
585 Should the kdc answer digest requests. The default is FALSE.
586 .It Li digests_allowed = Va list of digests
587 Specifies the digests the kdc will reply to. The default is
588 .Li ntlm-v2 .
589 .It Li kx509_ca = Va file
590 Specifies the PEM credentials for the kx509 certification authority.
591 .It Li require_initial_kca_tickets = Va boolean
592 Specified whether to require that tickets for the
593 .Li kca_service
594 service principal be INITIAL.
595 This may be set on a per-realm basis as well as globally.
596 Defaults to true for the global setting.
597 .It Li kx509_include_pkinit_san = Va boolean
598 If true then the kx509 client principal's name and realm will be
599 included in an
600 .Li id-pkinit-san
601 certificate extension.
602 This can be set on a per-realm basis as well as globally.
603 Defaults to true for the global setting.
604 .It Li kx509_template = Va file
605 Specifies the PEM file with a template for the certificates to be
606 issued.
607 The following variables can be interpolated in the subject name using
608 ${variable} syntax:
609 .Bl -tag -width "xxx" -offset indent
610 .It principal-name
611 The full name of the kx509 client principal.
612 .It principal-name-without-realm
613 The full name of the kx509 client principal, excluding the realm name.
614 .It principal-name-realm
615 The name of the client principal's realm.
618 The 
619 .Li kx509 ,
620 .Li kx509_template ,
621 .Li kx509_include_pkinit_san ,
623 .Li require_initial_kca_tickets
624 parameters may be set on a per-realm basis as well.
625 .It Li [kadmin]
626 .Bl -tag -width "xxx" -offset indent
627 .It Li password_lifetime = Va time
628 If a principal already have its password set for expiration, this is
629 the time it will be valid for after a change.
630 .It Li default_keys = Va keytypes...
631 For each entry in
632 .Va default_keys
633 try to parse it as a sequence of
634 .Va etype:salttype:salt
635 syntax of this if something like:
637 [(des|des3|etype):](pw-salt|afs3-salt)[:string]
640 .Ar etype
641 is omitted it means everything, and if string is omitted it means the
642 default salt string (for that principal and encryption type).
643 Additional special values of keytypes are:
644 .Bl -tag -width "xxx" -offset indent
645 .It Li v5
646 The Kerberos 5 salt
647 .Va pw-salt
648 .It Li v4
649 The Kerberos 4 salt
650 .Va des:pw-salt:
652 .It Li default_key_rules = Va {
653 .Bl -tag -width "xxx" -offset indent
654 .It Va globing-rule Li = Va keytypes...
655 a globbing rule to matching a principal, and when true, use the
656 keytypes as specified the same format as [kadmin]default_keys .
658 .It Li }
660 .It Li use_v4_salt = Va BOOL
661 When true, this is the same as
663 .Va default_keys = Va des3:pw-salt Va v4
665 and is only left for backwards compatibility.
666 .It Li [password_quality]
667 Check the Password quality assurance in the info documentation for
668 more information.
669 .Bl -tag -width "xxx" -offset indent
670 .It Li check_library = Va library-name
671 Library name that contains the password check_function
672 .It Li check_function = Va function-name
673 Function name for checking passwords in check_library
674 .It Li policy_libraries = Va library1 ... libraryN
675 List of libraries that can do password policy checks
676 .It Li policies = Va policy1 ... policyN
677 List of policy names to apply to the password. Builtin policies are
678 among other minimum-length, character-class, external-check.
681 .Sh ENVIRONMENT
682 .Ev KRB5_CONFIG
683 points to the configuration file to read.
684 .Sh FILES
685 .Bl -tag -width "/etc/krb5.conf"
686 .It Pa /etc/krb5.conf
687 configuration file for Kerberos 5.
689 .Sh EXAMPLES
690 .Bd -literal -offset indent
691 [libdefaults]
692         default_realm = FOO.SE
693 [domain_realm]
694         .foo.se = FOO.SE
695         .bar.se = FOO.SE
696 [realms]
697         FOO.SE = {
698                 kdc = kerberos.foo.se
699                 v4_name_convert = {
700                         rcmd = host
701                 }
702                 v4_instance_convert = {
703                         xyz = xyz.bar.se
704                 }
705                 default_domain = foo.se
706         }
707 [logging]
708         kdc = FILE:/var/heimdal/kdc.log
709         kdc = SYSLOG:INFO
710         default = SYSLOG:INFO:USER
711 [kadmin]
712         default_key_rules = {
713                 */ppp@* = arcfour-hmac-md5:pw-salt
714         }
716 .Sh DIAGNOSTICS
717 Since
719 is read and parsed by the krb5 library, there is not a lot of
720 opportunities for programs to report parsing errors in any useful
721 format.
722 To help overcome this problem, there is a program
723 .Nm verify_krb5_conf
724 that reads
726 and tries to emit useful diagnostics from parsing errors.
727 Note that this program does not have any way of knowing what options
728 are actually used and thus cannot warn about unknown or misspelled
729 ones.
730 .Sh SEE ALSO
731 .Xr kinit 1 ,
732 .Xr krb5_425_conv_principal 3 ,
733 .Xr krb5_openlog 3 ,
734 .Xr strftime 3 ,
735 .Xr verify_krb5_conf 8