c1aff2ed38
This adds a role and related testing to manage our Kerberos KDC servers, intended to replace the puppet modules currently performing this task. This role automates realm creation, initial setup, key material distribution and replica host configuration. None of this is intended to run on the production servers which are already setup with an active database, and the role should be effectively idempotent in production. Note that this does not yet switch the production servers into the new groups; this can be done in a separate step under controlled conditions and with related upgrades of the host OS to Focal. Change-Id: I60b40897486b29beafc76025790c501b5055313d
17 lines
501 B
Django/Jinja
17 lines
501 B
Django/Jinja
[kdcdefaults]
|
|
kdc_ports = 750,88
|
|
|
|
[realms]
|
|
{{ kerberos_kdc_realm }} = {
|
|
database_name = /var/lib/krb5kdc/principal
|
|
admin_keytab = FILE:/etc/krb5kdc/kadm5.keytab
|
|
acl_file = /etc/krb5kdc/kadm5.acl
|
|
key_stash_file = /etc/krb5kdc/stash
|
|
kdc_ports = 750,88
|
|
max_life = 10h 0m 0s
|
|
max_renewable_life = 7d 0h 0m 0s
|
|
master_key_type = aes256-cts
|
|
supported_enctypes = aes256-cts:normal
|
|
default_principal_flags = +preauth
|
|
}
|