1c19800e8SDoug Rabson.\" Copyright (c) 1999 - 2005 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.\" 32c19800e8SDoug Rabson.\" $Id: krb5.conf.5 15514 2005-06-23 18:43:34Z lha $ 33b528cefcSMark Murray.\" 34c19800e8SDoug Rabson.Dd May 4, 2005 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. 91c19800e8SDoug RabsonIf no unit is given, seconds is assumed. 92bbd80c28SJacques Vidrine.It etypes 93bbd80c28SJacques Vidrinevalid encryption types are: des-cbc-crc, des-cbc-md4, des-cbc-md5, 941c43270aSJacques Vidrinedes3-cbc-sha1, arcfour-hmac-md5, aes128-cts-hmac-sha1-96, and 951c43270aSJacques Vidrineaes256-cts-hmac-sha1-96 . 96bbd80c28SJacques Vidrine.It address 97bbd80c28SJacques Vidrinean address can be either a IPv4 or a IPv6 address. 98bbd80c28SJacques Vidrine.El 99bbd80c28SJacques Vidrine.Pp 100b528cefcSMark MurrayCurrently recognised sections and bindings are: 101b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent 102adb0ddaeSAssar Westerlund.It Li [appdefaults] 103adb0ddaeSAssar WesterlundSpecifies the default values to be used for Kerberos applications. 104adb0ddaeSAssar WesterlundYou can specify defaults per application, realm, or a combination of 105bbd80c28SJacques Vidrinethese. 106bbd80c28SJacques VidrineThe preference order is: 107adb0ddaeSAssar Westerlund.Bl -enum -compact 108adb0ddaeSAssar Westerlund.It 109adb0ddaeSAssar Westerlund.Va application Va realm Va option 110adb0ddaeSAssar Westerlund.It 111adb0ddaeSAssar Westerlund.Va application Va option 112adb0ddaeSAssar Westerlund.It 113adb0ddaeSAssar Westerlund.Va realm Va option 114adb0ddaeSAssar Westerlund.It 115adb0ddaeSAssar Westerlund.Va option 116adb0ddaeSAssar Westerlund.El 117adb0ddaeSAssar Westerlund.Pp 118adb0ddaeSAssar WesterlundThe supported options are: 119adb0ddaeSAssar Westerlund.Bl -tag -width "xxx" -offset indent 120adb0ddaeSAssar Westerlund.It Li forwardable = Va boolean 121adb0ddaeSAssar WesterlundWhen obtaining initial credentials, make the credentials forwardable. 122adb0ddaeSAssar Westerlund.It Li proxiable = Va boolean 123adb0ddaeSAssar WesterlundWhen obtaining initial credentials, make the credentials proxiable. 124adb0ddaeSAssar Westerlund.It Li no-addresses = Va boolean 125adb0ddaeSAssar WesterlundWhen obtaining initial credentials, request them for an empty set of 126adb0ddaeSAssar Westerlundaddresses, making the tickets valid from any address. 1274137ff4cSJacques Vidrine.It Li ticket_lifetime = Va time 128adb0ddaeSAssar WesterlundDefault ticket lifetime. 129adb0ddaeSAssar Westerlund.It Li renew_lifetime = Va time 130adb0ddaeSAssar WesterlundDefault renewable ticket lifetime. 1311c43270aSJacques Vidrine.It Li encrypt = Va boolean 1321c43270aSJacques VidrineUse encryption, when available. 1331c43270aSJacques Vidrine.It Li forward = Va boolean 1341c43270aSJacques VidrineForward credentials to remote host (for 1351c43270aSJacques Vidrine.Xr rsh 1 , 1361c43270aSJacques Vidrine.Xr telnet 1 , 1371c43270aSJacques Vidrineetc). 138adb0ddaeSAssar Westerlund.El 139b528cefcSMark Murray.It Li [libdefaults] 140b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent 141b528cefcSMark Murray.It Li default_realm = Va REALM 142b528cefcSMark MurrayDefault realm to use, this is also known as your 143b528cefcSMark Murray.Dq local realm . 144b528cefcSMark MurrayThe default is the result of 145b528cefcSMark Murray.Fn krb5_get_host_realm "local hostname" . 146b528cefcSMark Murray.It Li clockskew = Va time 147b528cefcSMark MurrayMaximum time differential (in seconds) allowed when comparing 148bbd80c28SJacques Vidrinetimes. 149bbd80c28SJacques VidrineDefault is 300 seconds (five minutes). 150b528cefcSMark Murray.It Li kdc_timeout = Va time 151b528cefcSMark MurrayMaximum time to wait for a reply from the kdc, default is 3 seconds. 152c19800e8SDoug Rabson.It Li v4_name_convert 153c19800e8SDoug Rabson.It Li v4_instance_resolve 154bbd80c28SJacques VidrineThese are described in the 155b528cefcSMark Murray.Xr krb5_425_conv_principal 3 156b528cefcSMark Murraymanual page. 1575e9cd1aeSAssar Westerlund.It Li capath = { 1585e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent 1595e9cd1aeSAssar Westerlund.It Va destination-realm Li = Va next-hop-realm 1605e9cd1aeSAssar Westerlund.It ... 1615e9cd1aeSAssar Westerlund.It Li } 1621c43270aSJacques Vidrine.El 1631c43270aSJacques VidrineThis is deprecated, see the 1641c43270aSJacques Vidrine.Li capaths 1651c43270aSJacques Vidrinesection below. 166c19800e8SDoug Rabson.It Li default_cc_name = Va ccname 167c19800e8SDoug Rabsonthe default credentials cache name. 168c19800e8SDoug RabsonThe string can contain variables that are expanded on runtime. 169c19800e8SDoug RabsonOnly support variable now is 170c19800e8SDoug Rabson.Li %{uid} 171c19800e8SDoug Rabsonthat expands to the current user id. 172b528cefcSMark Murray.It Li default_etypes = Va etypes ... 173bbd80c28SJacques VidrineA list of default encryption types to use. 174b528cefcSMark Murray.It Li default_etypes_des = Va etypes ... 175bbd80c28SJacques VidrineA list of default encryption types to use when requesting a DES credential. 176b528cefcSMark Murray.It Li default_keytab_name = Va keytab 177bbd80c28SJacques VidrineThe keytab to use if no other is specified, default is 178b528cefcSMark Murray.Dq FILE:/etc/krb5.keytab . 1798373020dSJacques Vidrine.It Li dns_lookup_kdc = Va boolean 1808373020dSJacques VidrineUse DNS SRV records to lookup KDC services location. 1818373020dSJacques Vidrine.It Li dns_lookup_realm = Va boolean 1828373020dSJacques VidrineUse DNS TXT records to lookup domain to realm mappings. 183b528cefcSMark Murray.It Li kdc_timesync = Va boolean 184b528cefcSMark MurrayTry to keep track of the time differential between the local machine 185b528cefcSMark Murrayand the KDC, and then compensate for that when issuing requests. 186b528cefcSMark Murray.It Li max_retries = Va number 187b528cefcSMark MurrayThe max number of times to try to contact each KDC. 188c19800e8SDoug Rabson.It Li large_msg_size = Va number 189c19800e8SDoug RabsonThe threshold where protocols with tiny maximum message sizes are not 190c19800e8SDoug Rabsonconsidered usable to send messages to the KDC. 191b528cefcSMark Murray.It Li ticket_lifetime = Va time 192b528cefcSMark MurrayDefault ticket lifetime. 193b528cefcSMark Murray.It Li renew_lifetime = Va time 194b528cefcSMark MurrayDefault renewable ticket lifetime. 195adb0ddaeSAssar Westerlund.It Li forwardable = Va boolean 196adb0ddaeSAssar WesterlundWhen obtaining initial credentials, make the credentials forwardable. 197adb0ddaeSAssar WesterlundThis option is also valid in the [realms] section. 198adb0ddaeSAssar Westerlund.It Li proxiable = Va boolean 199adb0ddaeSAssar WesterlundWhen obtaining initial credentials, make the credentials proxiable. 200adb0ddaeSAssar WesterlundThis option is also valid in the [realms] section. 201b528cefcSMark Murray.It Li verify_ap_req_nofail = Va boolean 2028373020dSJacques VidrineIf enabled, failure to verify credentials against a local key is a 203bbd80c28SJacques Vidrinefatal error. 204bbd80c28SJacques VidrineThe application has to be able to read the corresponding service key 205bbd80c28SJacques Vidrinefor this to work. 206bbd80c28SJacques VidrineSome applications, like 2071c43270aSJacques Vidrine.Xr su 1 , 2088373020dSJacques Vidrineenable this option unconditionally. 209b528cefcSMark Murray.It Li warn_pwexpire = Va time 210bbd80c28SJacques VidrineHow soon to warn for expiring password. 211bbd80c28SJacques VidrineDefault is seven days. 212b528cefcSMark Murray.It Li http_proxy = Va proxy-spec 213b528cefcSMark MurrayA HTTP-proxy to use when talking to the KDC via HTTP. 214b528cefcSMark Murray.It Li dns_proxy = Va proxy-spec 215b528cefcSMark MurrayEnable using DNS via HTTP. 216b528cefcSMark Murray.It Li extra_addresses = Va address ... 217b528cefcSMark MurrayA list of addresses to get tickets for along with all local addresses. 218b528cefcSMark Murray.It Li time_format = Va string 219b528cefcSMark MurrayHow to print time strings in logs, this string is passed to 220b528cefcSMark Murray.Xr strftime 3 . 221adb0ddaeSAssar Westerlund.It Li date_format = Va string 222adb0ddaeSAssar WesterlundHow to print date strings in logs, this string is passed to 223adb0ddaeSAssar Westerlund.Xr strftime 3 . 224b528cefcSMark Murray.It Li log_utc = Va boolean 225b528cefcSMark MurrayWrite log-entries using UTC instead of your local time zone. 226adb0ddaeSAssar Westerlund.It Li scan_interfaces = Va boolean 227adb0ddaeSAssar WesterlundScan all network interfaces for addresses, as opposed to simply using 228adb0ddaeSAssar Westerlundthe address associated with the system's host name. 229adb0ddaeSAssar Westerlund.It Li fcache_version = Va int 230adb0ddaeSAssar WesterlundUse file credential cache format version specified. 231adb0ddaeSAssar Westerlund.It Li krb4_get_tickets = Va boolean 232adb0ddaeSAssar WesterlundAlso get Kerberos 4 tickets in 2334137ff4cSJacques Vidrine.Nm kinit , 2344137ff4cSJacques Vidrine.Nm login , 235adb0ddaeSAssar Westerlundand other programs. 236adb0ddaeSAssar WesterlundThis option is also valid in the [realms] section. 2371c43270aSJacques Vidrine.It Li fcc-mit-ticketflags = Va boolean 2381c43270aSJacques VidrineUse MIT compatible format for file credential cache. 2391c43270aSJacques VidrineIt's the field ticketflags that is stored in reverse bit order for 2401c43270aSJacques Vidrineolder than Heimdal 0.7. 2411c43270aSJacques VidrineSetting this flag to 2421c43270aSJacques Vidrine.Dv TRUE 2431c43270aSJacques Vidrinemake it store the MIT way, this is default for Heimdal 0.7. 244b528cefcSMark Murray.El 245b528cefcSMark Murray.It Li [domain_realm] 246bbd80c28SJacques VidrineThis is a list of mappings from DNS domain to Kerberos realm. 247bbd80c28SJacques VidrineEach binding in this section looks like: 248b528cefcSMark Murray.Pp 249b528cefcSMark Murray.Dl domain = realm 250b528cefcSMark Murray.Pp 251b528cefcSMark MurrayThe domain can be either a full name of a host or a trailing 252b528cefcSMark Murraycomponent, in the latter case the domain-string should start with a 253bbd80c28SJacques Vidrineperiod. 254c19800e8SDoug RabsonThe trailing component only matches hosts that are in the same domain, ie 255c19800e8SDoug Rabson.Dq .example.com 256c19800e8SDoug Rabsonmatches 257c19800e8SDoug Rabson.Dq foo.example.com , 258c19800e8SDoug Rabsonbut not 259c19800e8SDoug Rabson.Dq foo.test.example.com . 260c19800e8SDoug Rabson.Pp 2618373020dSJacques VidrineThe realm may be the token `dns_locate', in which case the actual 2628373020dSJacques Vidrinerealm will be determined using DNS (independently of the setting 2638373020dSJacques Vidrineof the `dns_lookup_realm' option). 264b528cefcSMark Murray.It Li [realms] 265b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent 266b528cefcSMark Murray.It Va REALM Li = { 267b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent 268bbd80c28SJacques Vidrine.It Li kdc = Va [service/]host[:port] 269bbd80c28SJacques VidrineSpecifies a list of kdcs for this realm. 270bbd80c28SJacques VidrineIf the optional 271bbd80c28SJacques Vidrine.Va port 272bbd80c28SJacques Vidrineis absent, the 273b528cefcSMark Murraydefault value for the 274b528cefcSMark Murray.Dq kerberos/udp 275bbd80c28SJacques Vidrine.Dq kerberos/tcp , 276bbd80c28SJacques Vidrineand 277bbd80c28SJacques Vidrine.Dq http/tcp 278bbd80c28SJacques Vidrineport (depending on service) will be used. 2795e9cd1aeSAssar WesterlundThe kdcs will be used in the order that they are specified. 280bbd80c28SJacques Vidrine.Pp 281bbd80c28SJacques VidrineThe optional 282bbd80c28SJacques Vidrine.Va service 283bbd80c28SJacques Vidrinespecifies over what medium the kdc should be 284bbd80c28SJacques Vidrinecontacted. 285bbd80c28SJacques VidrinePossible services are 286bbd80c28SJacques Vidrine.Dq udp , 287bbd80c28SJacques Vidrine.Dq tcp , 288bbd80c28SJacques Vidrineand 289bbd80c28SJacques Vidrine.Dq http . 290bbd80c28SJacques VidrineHttp can also be written as 291bbd80c28SJacques Vidrine.Dq http:// . 292bbd80c28SJacques VidrineDefault service is 293bbd80c28SJacques Vidrine.Dq udp 294bbd80c28SJacques Vidrineand 295bbd80c28SJacques Vidrine.Dq tcp . 2965e9cd1aeSAssar Westerlund.It Li admin_server = Va host[:port] 2975e9cd1aeSAssar WesterlundSpecifies the admin server for this realm, where all the modifications 298bbd80c28SJacques Vidrineto the database are performed. 2995e9cd1aeSAssar Westerlund.It Li kpasswd_server = Va host[:port] 300bbd80c28SJacques VidrinePoints to the server where all the password changes are performed. 3015e9cd1aeSAssar WesterlundIf there is no such entry, the kpasswd port on the admin_server host 3025e9cd1aeSAssar Westerlundwill be tried. 303bbd80c28SJacques Vidrine.It Li krb524_server = Va host[:port] 304bbd80c28SJacques VidrinePoints to the server that does 524 conversions. 305bbd80c28SJacques VidrineIf it is not mentioned, the krb524 port on the kdcs will be tried. 306b528cefcSMark Murray.It Li v4_instance_convert 307b528cefcSMark Murray.It Li v4_name_convert 308b528cefcSMark Murray.It Li default_domain 309b528cefcSMark MurraySee 310b528cefcSMark Murray.Xr krb5_425_conv_principal 3 . 3111c43270aSJacques Vidrine.It Li tgs_require_subkey 3121c43270aSJacques Vidrinea boolan variable that defaults to false. 3131c43270aSJacques VidrineOld DCE secd (pre 1.1) might need this to be true. 314b528cefcSMark Murray.El 315b528cefcSMark Murray.It Li } 316b528cefcSMark Murray.El 3171c43270aSJacques Vidrine.It Li [capaths] 3181c43270aSJacques Vidrine.Bl -tag -width "xxx" -offset indent 3191c43270aSJacques Vidrine.It Va client-realm Li = { 3201c43270aSJacques Vidrine.Bl -tag -width "xxx" -offset indent 3211c43270aSJacques Vidrine.It Va server-realm Li = Va hop-realm ... 3221c43270aSJacques VidrineThis serves two purposes. First the first listed 3231c43270aSJacques Vidrine.Va hop-realm 3241c43270aSJacques Vidrinetells a client which realm it should contact in order to ultimately 3251c43270aSJacques Vidrineobtain credentials for a service in the 3261c43270aSJacques Vidrine.Va server-realm . 3271c43270aSJacques VidrineSecondly, it tells the KDC (and other servers) which realms are 3281c43270aSJacques Vidrineallowed in a multi-hop traversal from 3291c43270aSJacques Vidrine.Va client-realm 3301c43270aSJacques Vidrineto 3311c43270aSJacques Vidrine.Va server-realm . 3321c43270aSJacques VidrineExcept for the client case, the order of the realms are not important. 3331c43270aSJacques Vidrine.El 3341c43270aSJacques Vidrine.It Va } 3351c43270aSJacques Vidrine.El 336b528cefcSMark Murray.It Li [logging] 337b528cefcSMark Murray.Bl -tag -width "xxx" -offset indent 338b528cefcSMark Murray.It Va entity Li = Va destination 339b528cefcSMark MurraySpecifies that 340b528cefcSMark Murray.Va entity 341b528cefcSMark Murrayshould use the specified 342b528cefcSMark Murray.Li destination 343bbd80c28SJacques Vidrinefor logging. 344bbd80c28SJacques VidrineSee the 345b528cefcSMark Murray.Xr krb5_openlog 3 346b528cefcSMark Murraymanual page for a list of defined destinations. 347b528cefcSMark Murray.El 3485e9cd1aeSAssar Westerlund.It Li [kdc] 3495e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent 350c19800e8SDoug Rabson.It Li database Li = { 3515e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent 352c19800e8SDoug Rabson.It Li dbname Li = Va DATABASENAME 353bbd80c28SJacques VidrineUse this database for this realm. 354c19800e8SDoug RabsonSee the info documetation how to configure diffrent database backends. 355c19800e8SDoug Rabson.It Li realm Li = Va REALM 356bbd80c28SJacques VidrineSpecifies the realm that will be stored in this database. 357c19800e8SDoug RabsonIt realm isn't set, it will used as the default database, there can 358c19800e8SDoug Rabsononly be one entry that doesn't have a 359c19800e8SDoug Rabson.Li realm 360c19800e8SDoug Rabsonstanza. 361c19800e8SDoug Rabson.It Li mkey_file Li = Pa FILENAME 362bbd80c28SJacques VidrineUse this keytab file for the master key of this database. 3635e9cd1aeSAssar WesterlundIf not specified 3645e9cd1aeSAssar Westerlund.Va DATABASENAME Ns .mkey 3655e9cd1aeSAssar Westerlundwill be used. 366c19800e8SDoug Rabson.It Li acl_file Li = PA FILENAME 367bbd80c28SJacques VidrineUse this file for the ACL list of this database. 368c19800e8SDoug Rabson.It Li log_file Li = Pa FILENAME 369bbd80c28SJacques VidrineUse this file as the log of changes performed to the database. 370bbd80c28SJacques VidrineThis file is used by 3715e9cd1aeSAssar Westerlund.Nm ipropd-master 3725e9cd1aeSAssar Westerlundfor propagating changes to slaves. 373b528cefcSMark Murray.El 3745e9cd1aeSAssar Westerlund.It Li } 375c19800e8SDoug Rabson.It Li max-request = Va SIZE 3765e9cd1aeSAssar WesterlundMaximum size of a kdc request. 377c19800e8SDoug Rabson.It Li require-preauth = Va BOOL 378bbd80c28SJacques VidrineIf set pre-authentication is required. 379bbd80c28SJacques VidrineSince krb4 requests are not pre-authenticated they will be rejected. 380c19800e8SDoug Rabson.It Li ports = Va "list of ports" 381bbd80c28SJacques VidrineList of ports the kdc should listen to. 382c19800e8SDoug Rabson.It Li addresses = Va "list of interfaces" 383bbd80c28SJacques VidrineList of addresses the kdc should bind to. 384c19800e8SDoug Rabson.It Li enable-kerberos4 = Va BOOL 385bbd80c28SJacques VidrineTurn on Kerberos 4 support. 386c19800e8SDoug Rabson.It Li v4-realm = Va REALM 387bbd80c28SJacques VidrineTo what realm v4 requests should be mapped. 388c19800e8SDoug Rabson.It Li enable-524 = Va BOOL 389bbd80c28SJacques VidrineShould the Kerberos 524 converting facility be turned on. 390c19800e8SDoug RabsonDefault is the same as 3915e9cd1aeSAssar Westerlund.Va enable-kerberos4 . 392c19800e8SDoug Rabson.It Li enable-http = Va BOOL 393bbd80c28SJacques VidrineShould the kdc answer kdc-requests over http. 394c19800e8SDoug Rabson.It Li enable-kaserver = Va BOOL 395bbd80c28SJacques VidrineIf this kdc should emulate the AFS kaserver. 396c19800e8SDoug Rabson.It Li check-ticket-addresses = Va BOOL 397c19800e8SDoug RabsonVerify the addresses in the tickets used in tgs requests. 3985e9cd1aeSAssar Westerlund.\" XXX 399c19800e8SDoug Rabson.It Li allow-null-ticket-addresses = Va BOOL 400c19800e8SDoug RabsonAllow address-less tickets. 4015e9cd1aeSAssar Westerlund.\" XXX 402c19800e8SDoug Rabson.It Li allow-anonymous = Va BOOL 403bbd80c28SJacques VidrineIf the kdc is allowed to hand out anonymous tickets. 404c19800e8SDoug Rabson.It Li encode_as_rep_as_tgs_rep = Va BOOL 405bbd80c28SJacques VidrineEncode as-rep as tgs-rep tobe compatible with mistakes older DCE secd did. 4065e9cd1aeSAssar Westerlund.\" XXX 407c19800e8SDoug Rabson.It Li kdc_warn_pwexpire = Va TIME 408bbd80c28SJacques VidrineThe time before expiration that the user should be warned that her 4095e9cd1aeSAssar Westerlundpassword is about to expire. 410c19800e8SDoug Rabson.It Li logging = Va Logging 4115e9cd1aeSAssar WesterlundWhat type of logging the kdc should use, see also [logging]/kdc. 412c19800e8SDoug Rabson.It Li use_2b = { 413c19800e8SDoug Rabson.Bl -tag -width "xxx" -offset indent 414c19800e8SDoug Rabson.It Va principal Li = Va BOOL 415c19800e8SDoug Rabsonboolean value if the 524 daemon should return AFS 2b tokens for 416c19800e8SDoug Rabson.Fa principal . 417c19800e8SDoug Rabson.It ... 418c19800e8SDoug Rabson.El 419c19800e8SDoug Rabson.It Li } 420c19800e8SDoug Rabson.It Li hdb-ldap-structural-object Va structural object 421c19800e8SDoug RabsonIf the LDAP backend is used for storing principals, this is the 422c19800e8SDoug Rabsonstructural object that will be used when creating and when reading 423c19800e8SDoug Rabsonobjects. 424c19800e8SDoug RabsonThe default value is account . 425c19800e8SDoug Rabson.It Li hdb-ldap-create-base Va creation dn 426c19800e8SDoug Rabsonis the dn that will be appended to the principal when creating entries. 427c19800e8SDoug RabsonDefault value is the search dn. 4285e9cd1aeSAssar Westerlund.El 4295e9cd1aeSAssar Westerlund.It Li [kadmin] 4305e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent 431c19800e8SDoug Rabson.It Li require-preauth = Va BOOL 4325e9cd1aeSAssar WesterlundIf pre-authentication is required to talk to the kadmin server. 433c19800e8SDoug Rabson.It Li password_lifetime = Va time 434c19800e8SDoug RabsonIf a principal already have its password set for expiration, this is 435c19800e8SDoug Rabsonthe time it will be valid for after a change. 436c19800e8SDoug Rabson.It Li default_keys = Va keytypes... 437c19800e8SDoug RabsonFor each entry in 4385e9cd1aeSAssar Westerlund.Va default_keys 4395e9cd1aeSAssar Westerlundtry to parse it as a sequence of 4405e9cd1aeSAssar Westerlund.Va etype:salttype:salt 4415e9cd1aeSAssar Westerlundsyntax of this if something like: 4425e9cd1aeSAssar Westerlund.Pp 4435e9cd1aeSAssar Westerlund[(des|des3|etype):](pw-salt|afs3-salt)[:string] 4445e9cd1aeSAssar Westerlund.Pp 445bbd80c28SJacques VidrineIf 4465e9cd1aeSAssar Westerlund.Ar etype 447bbd80c28SJacques Vidrineis omitted it means everything, and if string is omitted it means the 448bbd80c28SJacques Vidrinedefault salt string (for that principal and encryption type). 449bbd80c28SJacques VidrineAdditional special values of keytypes are: 4505e9cd1aeSAssar Westerlund.Bl -tag -width "xxx" -offset indent 451c19800e8SDoug Rabson.It Li v5 452bbd80c28SJacques VidrineThe Kerberos 5 salt 4535e9cd1aeSAssar Westerlund.Va pw-salt 454c19800e8SDoug Rabson.It Li v4 455bbd80c28SJacques VidrineThe Kerberos 4 salt 4565e9cd1aeSAssar Westerlund.Va des:pw-salt: 4575e9cd1aeSAssar Westerlund.El 458c19800e8SDoug Rabson.It Li use_v4_salt = Va BOOL 4595e9cd1aeSAssar WesterlundWhen true, this is the same as 4605e9cd1aeSAssar Westerlund.Pp 4615e9cd1aeSAssar Westerlund.Va default_keys = Va des3:pw-salt Va v4 4625e9cd1aeSAssar Westerlund.Pp 463bbd80c28SJacques Vidrineand is only left for backwards compatibility. 4645e9cd1aeSAssar Westerlund.El 465c19800e8SDoug Rabson.It Li [password-quality] 466c19800e8SDoug RabsonCheck the Password quality assurance in the info documentation for 467c19800e8SDoug Rabsonmore information. 468c19800e8SDoug Rabson.Bl -tag -width "xxx" -offset indent 469c19800e8SDoug Rabson.It Li check_library = Va library-name 470c19800e8SDoug RabsonLibrary name that contains the password check_function 471c19800e8SDoug Rabson.It Li check_function = Va function-name 472c19800e8SDoug RabsonFunction name for checking passwords in check_library 473c19800e8SDoug Rabson.It Li policy_libraries = Va library1 ... libraryN 474c19800e8SDoug RabsonList of libraries that can do password policy checks 475c19800e8SDoug Rabson.It Li policies = Va policy1 ... policyN 476c19800e8SDoug RabsonList of policy names to apply to the password. Builtin policies are 477c19800e8SDoug Rabsonamong other minimum-length, character-class, external-check. 478c19800e8SDoug Rabson.El 4795e9cd1aeSAssar Westerlund.El 4805e9cd1aeSAssar Westerlund.Sh ENVIRONMENT 4815e9cd1aeSAssar Westerlund.Ev KRB5_CONFIG 4825e9cd1aeSAssar Westerlundpoints to the configuration file to read. 4831c43270aSJacques Vidrine.Sh FILES 4841c43270aSJacques Vidrine.Bl -tag -width "/etc/krb5.conf" 4851c43270aSJacques Vidrine.It Pa /etc/krb5.conf 4861c43270aSJacques Vidrineconfiguration file for Kerberos 5. 4871c43270aSJacques Vidrine.El 4881c43270aSJacques Vidrine.Sh EXAMPLES 489b528cefcSMark Murray.Bd -literal -offset indent 490adb0ddaeSAssar Westerlund[libdefaults] 491adb0ddaeSAssar Westerlund default_realm = FOO.SE 492b528cefcSMark Murray[domain_realm] 493b528cefcSMark Murray .foo.se = FOO.SE 494b528cefcSMark Murray .bar.se = FOO.SE 495b528cefcSMark Murray[realms] 496b528cefcSMark Murray FOO.SE = { 497b528cefcSMark Murray kdc = kerberos.foo.se 498b528cefcSMark Murray v4_name_convert = { 499b528cefcSMark Murray rcmd = host 500b528cefcSMark Murray } 501b528cefcSMark Murray v4_instance_convert = { 502b528cefcSMark Murray xyz = xyz.bar.se 503b528cefcSMark Murray } 504b528cefcSMark Murray default_domain = foo.se 505b528cefcSMark Murray } 506b528cefcSMark Murray[logging] 507b528cefcSMark Murray kdc = FILE:/var/heimdal/kdc.log 508b528cefcSMark Murray kdc = SYSLOG:INFO 509b528cefcSMark Murray default = SYSLOG:INFO:USER 510b528cefcSMark Murray.Ed 5115e9cd1aeSAssar Westerlund.Sh DIAGNOSTICS 5125e9cd1aeSAssar WesterlundSince 5135e9cd1aeSAssar Westerlund.Nm 5145e9cd1aeSAssar Westerlundis read and parsed by the krb5 library, there is not a lot of 5155e9cd1aeSAssar Westerlundopportunities for programs to report parsing errors in any useful 5165e9cd1aeSAssar Westerlundformat. 5175e9cd1aeSAssar WesterlundTo help overcome this problem, there is a program 5185e9cd1aeSAssar Westerlund.Nm verify_krb5_conf 5195e9cd1aeSAssar Westerlundthat reads 5205e9cd1aeSAssar Westerlund.Nm 521bbd80c28SJacques Vidrineand tries to emit useful diagnostics from parsing errors. 522bbd80c28SJacques VidrineNote that this program does not have any way of knowing what options 523bbd80c28SJacques Vidrineare actually used and thus cannot warn about unknown or misspelled 524bbd80c28SJacques Vidrineones. 525b528cefcSMark Murray.Sh SEE ALSO 526adb0ddaeSAssar Westerlund.Xr kinit 1 , 5274137ff4cSJacques Vidrine.Xr krb5_425_conv_principal 3 , 5284137ff4cSJacques Vidrine.Xr krb5_openlog 3 , 5294137ff4cSJacques Vidrine.Xr strftime 3 , 5304137ff4cSJacques Vidrine.Xr verify_krb5_conf 8 531