Skip to content

Instantly share code, notes, and snippets.

@sarjarapu
Last active October 5, 2018 04:34
Show Gist options
  • Save sarjarapu/2e0252e4232324ea357d7809e1ccf2c3 to your computer and use it in GitHub Desktop.
Save sarjarapu/2e0252e4232324ea357d7809e1ccf2c3 to your computer and use it in GitHub Desktop.
The file contents of Kerberos configuration files
# File: /etc/krb5.conf
# Configuration snippets may be placed in this directory as well
includedir /etc/krb5.conf.d/
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
dns_lookup_realm = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
rdns = false
default_realm = MDBKRB5.NET
default_ccache_name = KEYRING:persistent:%{uid}
[realms]
MDBKRB5.NET = {
kdc = kdc.mdbkrb5.net
admin_server = kdc.mdbkrb5.net
}
[domain_realm]
.mdbkrb5.net = MDBKRB5.NET
mdbkrb5.net = MDBKRB5.NET
# File: /var/kerberos/krb5kdc/kdc.conf
[kdcdefaults]
kdc_ports = 88
kdc_tcp_ports = 88
[realms]
MDBKRB5.NET = {
#master_key_type = aes256-cts
acl_file = /var/kerberos/krb5kdc/kadm5.acl
dict_file = /usr/share/dict/words
admin_keytab = /var/kerberos/krb5kdc/kadm5.keytab
supported_enctypes = aes256-cts:normal aes128-cts:normal des3-hmac-sha1:normal arcfour-hmac:normal camellia256-cts:normal camellia128-cts:normal des-hmac-sha1:normal des-cbc-md5:normal des-cbc-crc:normal
}
# File: /var/kerberos/krb5kdc/kadm5.acl
*/[email protected] *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment