Node: Sample krb5.conf File, Previous: capaths, Up: krb5.conf

### Sample krb5.conf File

Here is an example of a generic `krb5.conf` file:

         [libdefaults]
             default_realm = ATHENA.MIT.EDU
             default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc
             default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc
             dns_lookup_kdc = true
             dns_lookup_realm = false

         [realms]
             ATHENA.MIT.EDU = {
                 kdc = kerberos.mit.edu
                 kdc = kerberos-1.mit.edu
                 kdc = kerberos-2.mit.edu:750
                 admin_server = kerberos.mit.edu
                 master_kdc = kerberos.mit.edu
                 default_domain = mit.edu
             }
             EXAMPLE.COM = {
                 kdc = kerberos.example.com
                 kdc = kerberos-1.example.com
                 admin_server = kerberos.example.com
             }

         [domain_realm]
             .mit.edu = ATHENA.MIT.EDU
             mit.edu = ATHENA.MIT.EDU

         [capaths]
             ATHENA.MIT.EDU = {
             	EXAMPLE.COM = .
             }
             EXAMPLE.COM = {
             	ATHENA.MIT.EDU = .
             }

         [logging]
             kdc = SYSLOG:INFO
             admin_server = FILE=/var/kadm5.log