1bbd80c28SJacques Vidrine.\" Copyright (c) 1999 - 2003 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.\" 32bbd80c28SJacques Vidrine.\" $Id: krb5.conf.5,v 1.35 2003/04/16 13:26:13 lha Exp $ 33b528cefcSMark Murray.\" 34b528cefcSMark Murray.Dd April 11, 1999 35b528cefcSMark Murray.Dt KRB5.CONF 5 36b528cefcSMark Murray.Os HEIMDAL 37b528cefcSMark Murray.Sh NAME 38b528cefcSMark Murray.Nm /etc/krb5.conf 3945524cd7SAssar Westerlund.Nd configuration file for Kerberos 5 40b528cefcSMark Murray.Sh DESCRIPTION 41b528cefcSMark MurrayThe 42b528cefcSMark Murray.Nm 43b528cefcSMark Murrayfile specifies several configuration parameters for the Kerberos 5 44b528cefcSMark Murraylibrary, as well as for some programs. 45b528cefcSMark Murray.Pp 46b528cefcSMark MurrayThe file consists of one or more sections, containing a number of 47bbd80c28SJacques Vidrinebindings. 48bbd80c28SJacques VidrineThe value of each binding can be either a string or a list of other 49bbd80c28SJacques Vidrinebindings. 50bbd80c28SJacques VidrineThe grammar looks like: 51b528cefcSMark Murray.Bd -literal -offset indent 52b528cefcSMark Murrayfile: 53b528cefcSMark Murray /* empty */ 54b528cefcSMark Murray sections 55b528cefcSMark Murray 56b528cefcSMark Murraysections: 57b528cefcSMark Murray section sections 58b528cefcSMark Murray section 59b528cefcSMark Murray 60b528cefcSMark Murraysection: 61b528cefcSMark Murray '[' section_name ']' bindings 62b528cefcSMark Murray 63b528cefcSMark Murraysection_name: 64b528cefcSMark Murray STRING 65b528cefcSMark Murray 66b528cefcSMark Murraybindings: 67b528cefcSMark Murray binding bindings 68b528cefcSMark Murray binding 69b528cefcSMark Murray 70b528cefcSMark Murraybinding: 71b528cefcSMark Murray name '=' STRING 72b528cefcSMark Murray name '=' '{' bindings '}' 73b528cefcSMark Murray 74b528cefcSMark Murrayname: 75b528cefcSMark Murray STRING 76b528cefcSMark Murray 77b528cefcSMark Murray.Ed 78b528cefcSMark Murray.Li STRINGs 79b528cefcSMark Murrayconsists of one or more non-whitespace characters. 80bbd80c28SJacques Vidrine.Pp 81bbd80c28SJacques VidrineSTRINGs that are specified later in this man-page uses the following 82bbd80c28SJacques Vidrinenotation. 83bbd80c28SJacques Vidrine.Bl -tag -width "xxx" -offset indent 84bbd80c28SJacques Vidrine.It boolean 85bbd80c28SJacques Vidrinevalues can be either yes/true or no/false. 86bbd80c28SJacques Vidrine.It time 87bbd80c28SJacques Vidrinevalues can be a list of year, month, day, hour, min, second. 88bbd80c28SJacques VidrineExample: 1 month 2 days 30 min. 89bbd80c28SJacques Vidrine.It etypes 90bbd80c28SJacques Vidrinevalid encryption types are: des-cbc-crc, des-cbc-md4, des-cbc-md5, 91bbd80c28SJacques Vidrinedes3-cbc-sha1. 92bbd80c28SJacques Vidrine.It address 93bbd80c28SJacques Vidrinean address can be either a IPv4 or a IPv6 address. 94bbd80c28SJacques Vidrine.El 95bbd80c28SJacques Vidrine.Pp 96b528cefcSMark MurrayCurrently recognised sections and bindings are: 97b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent 98adb0ddaeSAssar Westerlund.It Li [appdefaults] 99adb0ddaeSAssar WesterlundSpecifies the default values to be used for Kerberos applications. 100adb0ddaeSAssar WesterlundYou can specify defaults per application, realm, or a combination of 101bbd80c28SJacques Vidrinethese. 102bbd80c28SJacques VidrineThe preference order is: 103adb0ddaeSAssar Westerlund.Bl -enum -compact 104adb0ddaeSAssar Westerlund.It 105adb0ddaeSAssar Westerlund.Va application Va realm Va option 106adb0ddaeSAssar Westerlund.It 107adb0ddaeSAssar Westerlund.Va application Va option 108adb0ddaeSAssar Westerlund.It 109adb0ddaeSAssar Westerlund.Va realm Va option 110adb0ddaeSAssar Westerlund.It 111adb0ddaeSAssar Westerlund.Va option 112adb0ddaeSAssar Westerlund.El 113adb0ddaeSAssar Westerlund.Pp 114adb0ddaeSAssar WesterlundThe supported options are: 115adb0ddaeSAssar Westerlund.Bl -tag -width "xxx" -offset indent 116adb0ddaeSAssar Westerlund.It Li forwardable = Va boolean 117adb0ddaeSAssar WesterlundWhen obtaining initial credentials, make the credentials forwardable. 118adb0ddaeSAssar Westerlund.It Li proxiable = Va boolean 119adb0ddaeSAssar WesterlundWhen obtaining initial credentials, make the credentials proxiable. 120adb0ddaeSAssar Westerlund.It Li no-addresses = Va boolean 121adb0ddaeSAssar WesterlundWhen obtaining initial credentials, request them for an empty set of 122adb0ddaeSAssar Westerlundaddresses, making the tickets valid from any address. 1234137ff4cSJacques Vidrine.It Li ticket_lifetime = Va time 124adb0ddaeSAssar WesterlundDefault ticket lifetime. 125adb0ddaeSAssar Westerlund.It Li renew_lifetime = Va time 126adb0ddaeSAssar WesterlundDefault renewable ticket lifetime. 127adb0ddaeSAssar Westerlund.El 128b528cefcSMark Murray.It Li [libdefaults] 129b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent 130b528cefcSMark Murray.It Li default_realm = Va REALM 131b528cefcSMark MurrayDefault realm to use, this is also known as your 132b528cefcSMark Murray.Dq local realm . 133b528cefcSMark MurrayThe default is the result of 134b528cefcSMark Murray.Fn krb5_get_host_realm "local hostname" . 135b528cefcSMark Murray.It Li clockskew = Va time 136b528cefcSMark MurrayMaximum time differential (in seconds) allowed when comparing 137bbd80c28SJacques Vidrinetimes. 138bbd80c28SJacques VidrineDefault is 300 seconds (five minutes). 139b528cefcSMark Murray.It Li kdc_timeout = Va time 140b528cefcSMark MurrayMaximum time to wait for a reply from the kdc, default is 3 seconds. 141b528cefcSMark Murray.It v4_name_convert 142b528cefcSMark Murray.It v4_instance_resolve 143bbd80c28SJacques VidrineThese are described in the 144b528cefcSMark Murray.Xr krb5_425_conv_principal 3 145b528cefcSMark Murraymanual page. 1465e9cd1aeSAssar Westerlund.It Li capath = { 1475e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent 1485e9cd1aeSAssar Westerlund.It Va destination-realm Li = Va next-hop-realm 1495e9cd1aeSAssar Westerlund.It ... 1505e9cd1aeSAssar Westerlund.El 1515e9cd1aeSAssar WesterlundNormally, all requests to realms different from the one of the current 1525e9cd1aeSAssar Westerlundclient are sent to this KDC to get cross-realm tickets. 1535e9cd1aeSAssar WesterlundIf this KDC does not have a cross-realm key with the desired realm and 1545e9cd1aeSAssar Westerlundthe hierarchical path to that realm does not work, a path can be 1555e9cd1aeSAssar Westerlundconfigured using this directive. 1565e9cd1aeSAssar WesterlundThe text shown above instructs the KDC to try to obtain a cross-realm 1575e9cd1aeSAssar Westerlundticket to 1585e9cd1aeSAssar Westerlund.Va next-hop-realm 1595e9cd1aeSAssar Westerlundwhen the desired realm is 1605e9cd1aeSAssar Westerlund.Va destination-realm . 1615e9cd1aeSAssar WesterlundThis configuration should preferably be done on the KDC where it will 1625e9cd1aeSAssar Westerlundhelp all its clients but can also be done on the client itself. 1635e9cd1aeSAssar Westerlund.It Li } 164b528cefcSMark Murray.It Li default_etypes = Va etypes... 165bbd80c28SJacques VidrineA list of default encryption types to use. 166b528cefcSMark Murray.It Li default_etypes_des = Va etypes... 167bbd80c28SJacques VidrineA list of default encryption types to use when requesting a DES credential. 168b528cefcSMark Murray.It Li default_keytab_name = Va keytab 169bbd80c28SJacques VidrineThe keytab to use if no other is specified, default is 170b528cefcSMark Murray.Dq FILE:/etc/krb5.keytab . 1718373020dSJacques Vidrine.It Li dns_lookup_kdc = Va boolean 1728373020dSJacques VidrineUse DNS SRV records to lookup KDC services location. 1738373020dSJacques Vidrine.It Li dns_lookup_realm = Va boolean 1748373020dSJacques VidrineUse DNS TXT records to lookup domain to realm mappings. 175b528cefcSMark Murray.It Li kdc_timesync = Va boolean 176b528cefcSMark MurrayTry to keep track of the time differential between the local machine 177b528cefcSMark Murrayand the KDC, and then compensate for that when issuing requests. 178b528cefcSMark Murray.It Li max_retries = Va number 179b528cefcSMark MurrayThe max number of times to try to contact each KDC. 180b528cefcSMark Murray.It Li ticket_lifetime = Va time 181b528cefcSMark MurrayDefault ticket lifetime. 182b528cefcSMark Murray.It Li renew_lifetime = Va time 183b528cefcSMark MurrayDefault renewable ticket lifetime. 184adb0ddaeSAssar Westerlund.It Li forwardable = Va boolean 185adb0ddaeSAssar WesterlundWhen obtaining initial credentials, make the credentials forwardable. 186adb0ddaeSAssar WesterlundThis option is also valid in the [realms] section. 187adb0ddaeSAssar Westerlund.It Li proxiable = Va boolean 188adb0ddaeSAssar WesterlundWhen obtaining initial credentials, make the credentials proxiable. 189adb0ddaeSAssar WesterlundThis option is also valid in the [realms] section. 190b528cefcSMark Murray.It Li verify_ap_req_nofail = Va boolean 1918373020dSJacques VidrineIf enabled, failure to verify credentials against a local key is a 192bbd80c28SJacques Vidrinefatal error. 193bbd80c28SJacques VidrineThe application has to be able to read the corresponding service key 194bbd80c28SJacques Vidrinefor this to work. 195bbd80c28SJacques VidrineSome applications, like 1968373020dSJacques Vidrine.Xr su 8 , 1978373020dSJacques Vidrineenable this option unconditionally. 198b528cefcSMark Murray.It Li warn_pwexpire = Va time 199bbd80c28SJacques VidrineHow soon to warn for expiring password. 200bbd80c28SJacques VidrineDefault is seven days. 201b528cefcSMark Murray.It Li http_proxy = Va proxy-spec 202b528cefcSMark MurrayA HTTP-proxy to use when talking to the KDC via HTTP. 203b528cefcSMark Murray.It Li dns_proxy = Va proxy-spec 204b528cefcSMark MurrayEnable using DNS via HTTP. 205b528cefcSMark Murray.It Li extra_addresses = Va address... 206b528cefcSMark MurrayA list of addresses to get tickets for along with all local addresses. 207b528cefcSMark Murray.It Li time_format = Va string 208b528cefcSMark MurrayHow to print time strings in logs, this string is passed to 209b528cefcSMark Murray.Xr strftime 3 . 210adb0ddaeSAssar Westerlund.It Li date_format = Va string 211adb0ddaeSAssar WesterlundHow to print date strings in logs, this string is passed to 212adb0ddaeSAssar Westerlund.Xr strftime 3 . 213b528cefcSMark Murray.It Li log_utc = Va boolean 214b528cefcSMark MurrayWrite log-entries using UTC instead of your local time zone. 215adb0ddaeSAssar Westerlund.It Li scan_interfaces = Va boolean 216adb0ddaeSAssar WesterlundScan all network interfaces for addresses, as opposed to simply using 217adb0ddaeSAssar Westerlundthe address associated with the system's host name. 218adb0ddaeSAssar Westerlund.It Li fcache_version = Va int 219adb0ddaeSAssar WesterlundUse file credential cache format version specified. 220adb0ddaeSAssar Westerlund.It Li krb4_get_tickets = Va boolean 221adb0ddaeSAssar WesterlundAlso get Kerberos 4 tickets in 2224137ff4cSJacques Vidrine.Nm kinit , 2234137ff4cSJacques Vidrine.Nm login , 224adb0ddaeSAssar Westerlundand other programs. 225adb0ddaeSAssar WesterlundThis option is also valid in the [realms] section. 226b528cefcSMark Murray.El 227b528cefcSMark Murray.It Li [domain_realm] 228bbd80c28SJacques VidrineThis is a list of mappings from DNS domain to Kerberos realm. 229bbd80c28SJacques VidrineEach binding in this section looks like: 230b528cefcSMark Murray.Pp 231b528cefcSMark Murray.Dl domain = realm 232b528cefcSMark Murray.Pp 233b528cefcSMark MurrayThe domain can be either a full name of a host or a trailing 234b528cefcSMark Murraycomponent, in the latter case the domain-string should start with a 235bbd80c28SJacques Vidrineperiod. 2368373020dSJacques VidrineThe realm may be the token `dns_locate', in which case the actual 2378373020dSJacques Vidrinerealm will be determined using DNS (independently of the setting 2388373020dSJacques Vidrineof the `dns_lookup_realm' option). 239b528cefcSMark Murray.It Li [realms] 240b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent 241b528cefcSMark Murray.It Va REALM Li = { 242b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent 243bbd80c28SJacques Vidrine.It Li kdc = Va [service/]host[:port] 244bbd80c28SJacques VidrineSpecifies a list of kdcs for this realm. 245bbd80c28SJacques VidrineIf the optional 246bbd80c28SJacques Vidrine.Va port 247bbd80c28SJacques Vidrineis absent, the 248b528cefcSMark Murraydefault value for the 249b528cefcSMark Murray.Dq kerberos/udp 250bbd80c28SJacques Vidrine.Dq kerberos/tcp , 251bbd80c28SJacques Vidrineand 252bbd80c28SJacques Vidrine.Dq http/tcp 253bbd80c28SJacques Vidrineport (depending on service) will be used. 2545e9cd1aeSAssar WesterlundThe kdcs will be used in the order that they are specified. 255bbd80c28SJacques Vidrine.Pp 256bbd80c28SJacques VidrineThe optional 257bbd80c28SJacques Vidrine.Va service 258bbd80c28SJacques Vidrinespecifies over what medium the kdc should be 259bbd80c28SJacques Vidrinecontacted. 260bbd80c28SJacques VidrinePossible services are 261bbd80c28SJacques Vidrine.Dq udp , 262bbd80c28SJacques Vidrine.Dq tcp , 263bbd80c28SJacques Vidrineand 264bbd80c28SJacques Vidrine.Dq http . 265bbd80c28SJacques VidrineHttp can also be written as 266bbd80c28SJacques Vidrine.Dq http:// . 267bbd80c28SJacques VidrineDefault service is 268bbd80c28SJacques Vidrine.Dq udp 269bbd80c28SJacques Vidrineand 270bbd80c28SJacques Vidrine.Dq tcp . 2715e9cd1aeSAssar Westerlund.It Li admin_server = Va host[:port] 2725e9cd1aeSAssar WesterlundSpecifies the admin server for this realm, where all the modifications 273bbd80c28SJacques Vidrineto the database are performed. 2745e9cd1aeSAssar Westerlund.It Li kpasswd_server = Va host[:port] 275bbd80c28SJacques VidrinePoints to the server where all the password changes are performed. 2765e9cd1aeSAssar WesterlundIf there is no such entry, the kpasswd port on the admin_server host 2775e9cd1aeSAssar Westerlundwill be tried. 278bbd80c28SJacques Vidrine.It Li krb524_server = Va host[:port] 279bbd80c28SJacques VidrinePoints to the server that does 524 conversions. 280bbd80c28SJacques VidrineIf it is not mentioned, the krb524 port on the kdcs will be tried. 281b528cefcSMark Murray.It Li v4_instance_convert 282b528cefcSMark Murray.It Li v4_name_convert 283b528cefcSMark Murray.It Li default_domain 284b528cefcSMark MurraySee 285b528cefcSMark Murray.Xr krb5_425_conv_principal 3 . 286b528cefcSMark Murray.El 287b528cefcSMark Murray.It Li } 288b528cefcSMark Murray.El 289b528cefcSMark Murray.It Li [logging] 290b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent 291b528cefcSMark Murray.It Va entity Li = Va destination 292b528cefcSMark MurraySpecifies that 293b528cefcSMark Murray.Va entity 294b528cefcSMark Murrayshould use the specified 295b528cefcSMark Murray.Li destination 296bbd80c28SJacques Vidrinefor logging. 297bbd80c28SJacques VidrineSee the 298b528cefcSMark Murray.Xr krb5_openlog 3 299b528cefcSMark Murraymanual page for a list of defined destinations. 300b528cefcSMark Murray.El 3015e9cd1aeSAssar Westerlund.It Li [kdc] 3025e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent 3035e9cd1aeSAssar Westerlund.It database Li = { 3045e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent 3055e9cd1aeSAssar Westerlund.It dbname Li = Va DATABASENAME 306bbd80c28SJacques VidrineUse this database for this realm. 3075e9cd1aeSAssar Westerlund.It realm Li = Va REALM 308bbd80c28SJacques VidrineSpecifies the realm that will be stored in this database. 3095e9cd1aeSAssar Westerlund.It mkey_file Li = Pa FILENAME 310bbd80c28SJacques VidrineUse this keytab file for the master key of this database. 3115e9cd1aeSAssar WesterlundIf not specified 3125e9cd1aeSAssar Westerlund.Va DATABASENAME Ns .mkey 3135e9cd1aeSAssar Westerlundwill be used. 3145e9cd1aeSAssar Westerlund.It acl_file Li = PA FILENAME 315bbd80c28SJacques VidrineUse this file for the ACL list of this database. 3165e9cd1aeSAssar Westerlund.It log_file Li = Pa FILENAME 317bbd80c28SJacques VidrineUse this file as the log of changes performed to the database. 318bbd80c28SJacques VidrineThis file is used by 3195e9cd1aeSAssar Westerlund.Nm ipropd-master 3205e9cd1aeSAssar Westerlundfor propagating changes to slaves. 321b528cefcSMark Murray.El 3225e9cd1aeSAssar Westerlund.It Li } 3235e9cd1aeSAssar Westerlund.It max-request = Va SIZE 3245e9cd1aeSAssar WesterlundMaximum size of a kdc request. 3255e9cd1aeSAssar Westerlund.It require-preauth = Va BOOL 326bbd80c28SJacques VidrineIf set pre-authentication is required. 327bbd80c28SJacques VidrineSince krb4 requests are not pre-authenticated they will be rejected. 3285e9cd1aeSAssar Westerlund.It ports = Va "list of ports" 329bbd80c28SJacques VidrineList of ports the kdc should listen to. 3305e9cd1aeSAssar Westerlund.It addresses = Va "list of interfaces" 331bbd80c28SJacques VidrineList of addresses the kdc should bind to. 3325e9cd1aeSAssar Westerlund.It enable-kerberos4 = Va BOOL 333bbd80c28SJacques VidrineTurn on Kerberos 4 support. 3345e9cd1aeSAssar Westerlund.It v4-realm = Va REALM 335bbd80c28SJacques VidrineTo what realm v4 requests should be mapped. 3365e9cd1aeSAssar Westerlund.It enable-524 = Va BOOL 337bbd80c28SJacques VidrineShould the Kerberos 524 converting facility be turned on. 338bbd80c28SJacques VidrineDefault is same as 3395e9cd1aeSAssar Westerlund.Va enable-kerberos4 . 3405e9cd1aeSAssar Westerlund.It enable-http = Va BOOL 341bbd80c28SJacques VidrineShould the kdc answer kdc-requests over http. 3425e9cd1aeSAssar Westerlund.It enable-kaserver = Va BOOL 343bbd80c28SJacques VidrineIf this kdc should emulate the AFS kaserver. 3445e9cd1aeSAssar Westerlund.It check-ticket-addresses = Va BOOL 3455e9cd1aeSAssar Westerlundverify the addresses in the tickets used in tgs requests. 3465e9cd1aeSAssar Westerlund.\" XXX 3475e9cd1aeSAssar Westerlund.It allow-null-ticket-addresses = Va BOOL 348bbd80c28SJacques VidrineAllow addresses-less tickets. 3495e9cd1aeSAssar Westerlund.\" XXX 3505e9cd1aeSAssar Westerlund.It allow-anonymous = Va BOOL 351bbd80c28SJacques VidrineIf the kdc is allowed to hand out anonymous tickets. 3525e9cd1aeSAssar Westerlund.It encode_as_rep_as_tgs_rep = Va BOOL 353bbd80c28SJacques VidrineEncode as-rep as tgs-rep tobe compatible with mistakes older DCE secd did. 3545e9cd1aeSAssar Westerlund.\" XXX 3555e9cd1aeSAssar Westerlund.It kdc_warn_pwexpire = Va TIME 356bbd80c28SJacques VidrineThe time before expiration that the user should be warned that her 3575e9cd1aeSAssar Westerlundpassword is about to expire. 3585e9cd1aeSAssar Westerlund.It logging = Va Logging 3595e9cd1aeSAssar WesterlundWhat type of logging the kdc should use, see also [logging]/kdc. 360bbd80c28SJacques Vidrine.It use_2b = Va principal list 361bbd80c28SJacques VidrineList of principals to use AFS 2b tokens for. 3625e9cd1aeSAssar Westerlund.El 3635e9cd1aeSAssar Westerlund.It Li [kadmin] 3645e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent 3655e9cd1aeSAssar Westerlund.It require-preauth = Va BOOL 3665e9cd1aeSAssar WesterlundIf pre-authentication is required to talk to the kadmin server. 3675e9cd1aeSAssar Westerlund.It default_keys = Va keytypes... 3685e9cd1aeSAssar Westerlundfor each entry in 3695e9cd1aeSAssar Westerlund.Va default_keys 3705e9cd1aeSAssar Westerlundtry to parse it as a sequence of 3715e9cd1aeSAssar Westerlund.Va etype:salttype:salt 3725e9cd1aeSAssar Westerlundsyntax of this if something like: 3735e9cd1aeSAssar Westerlund.Pp 3745e9cd1aeSAssar Westerlund[(des|des3|etype):](pw-salt|afs3-salt)[:string] 3755e9cd1aeSAssar Westerlund.Pp 376bbd80c28SJacques VidrineIf 3775e9cd1aeSAssar Westerlund.Ar etype 378bbd80c28SJacques Vidrineis omitted it means everything, and if string is omitted it means the 379bbd80c28SJacques Vidrinedefault salt string (for that principal and encryption type). 380bbd80c28SJacques VidrineAdditional special values of keytypes are: 3815e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent 3825e9cd1aeSAssar Westerlund.It v5 383bbd80c28SJacques VidrineThe Kerberos 5 salt 3845e9cd1aeSAssar Westerlund.Va pw-salt 3855e9cd1aeSAssar Westerlund.It v4 386bbd80c28SJacques VidrineThe Kerberos 4 salt 3875e9cd1aeSAssar Westerlund.Va des:pw-salt: 3885e9cd1aeSAssar Westerlund.El 3895e9cd1aeSAssar Westerlund.It use_v4_salt = Va BOOL 3905e9cd1aeSAssar WesterlundWhen true, this is the same as 3915e9cd1aeSAssar Westerlund.Pp 3925e9cd1aeSAssar Westerlund.Va default_keys = Va des3:pw-salt Va v4 3935e9cd1aeSAssar Westerlund.Pp 394bbd80c28SJacques Vidrineand is only left for backwards compatibility. 3955e9cd1aeSAssar Westerlund.El 3965e9cd1aeSAssar Westerlund.El 3975e9cd1aeSAssar Westerlund.Sh ENVIRONMENT 3985e9cd1aeSAssar Westerlund.Ev KRB5_CONFIG 3995e9cd1aeSAssar Westerlundpoints to the configuration file to read. 400b528cefcSMark Murray.Sh EXAMPLE 401b528cefcSMark Murray.Bd -literal -offset indent 402adb0ddaeSAssar Westerlund[libdefaults] 403adb0ddaeSAssar Westerlund default_realm = FOO.SE 404b528cefcSMark Murray[domain_realm] 405b528cefcSMark Murray .foo.se = FOO.SE 406b528cefcSMark Murray .bar.se = FOO.SE 407b528cefcSMark Murray[realms] 408b528cefcSMark Murray FOO.SE = { 409b528cefcSMark Murray kdc = kerberos.foo.se 410b528cefcSMark Murray v4_name_convert = { 411b528cefcSMark Murray rcmd = host 412b528cefcSMark Murray } 413b528cefcSMark Murray v4_instance_convert = { 414b528cefcSMark Murray xyz = xyz.bar.se 415b528cefcSMark Murray } 416b528cefcSMark Murray default_domain = foo.se 417b528cefcSMark Murray } 418b528cefcSMark Murray[logging] 419b528cefcSMark Murray kdc = FILE:/var/heimdal/kdc.log 420b528cefcSMark Murray kdc = SYSLOG:INFO 421b528cefcSMark Murray default = SYSLOG:INFO:USER 422b528cefcSMark Murray.Ed 4235e9cd1aeSAssar Westerlund.Sh DIAGNOSTICS 4245e9cd1aeSAssar WesterlundSince 4255e9cd1aeSAssar Westerlund.Nm 4265e9cd1aeSAssar Westerlundis read and parsed by the krb5 library, there is not a lot of 4275e9cd1aeSAssar Westerlundopportunities for programs to report parsing errors in any useful 4285e9cd1aeSAssar Westerlundformat. 4295e9cd1aeSAssar WesterlundTo help overcome this problem, there is a program 4305e9cd1aeSAssar Westerlund.Nm verify_krb5_conf 4315e9cd1aeSAssar Westerlundthat reads 4325e9cd1aeSAssar Westerlund.Nm 433bbd80c28SJacques Vidrineand tries to emit useful diagnostics from parsing errors. 434bbd80c28SJacques VidrineNote that this program does not have any way of knowing what options 435bbd80c28SJacques Vidrineare actually used and thus cannot warn about unknown or misspelled 436bbd80c28SJacques Vidrineones. 437b528cefcSMark Murray.Sh SEE ALSO 438adb0ddaeSAssar Westerlund.Xr kinit 1 , 4394137ff4cSJacques Vidrine.Xr krb5_425_conv_principal 3 , 4404137ff4cSJacques Vidrine.Xr krb5_openlog 3 , 4414137ff4cSJacques Vidrine.Xr strftime 3 , 4424137ff4cSJacques Vidrine.Xr verify_krb5_conf 8 443