ansible-role-system/templates/krb5.conf.j2
Denis Knauf 3beb52ad22 init
2021-04-10 22:11:19 +02:00

24 lines
749 B
Django/Jinja

[libdefaults]
{%if krb5_default_realm is defined%}
default_realm = {{krb5_default_realm|mandatory()}}
{%endif%}
allow_weak_crypto = false
permitted_enctypes = aes256-cts-hmac-sha1-96 camellia256-cts-cmac aes128-cts-hmac-sha1-96 camellia128-cts-cmac
default_tkt_enctypes = aes256-cts-hmac-sha1-96 camellia256-cts-cmac aes128-cts-hmac-sha1-96 camellia128-cts-cmac
default_tgs_enctypes = aes256-cts-hmac-sha1-96 camellia256-cts-cmac aes128-cts-hmac-sha1-96 camellia128-cts-cmac
[realms]
{% for realm, cfg in krb5_realms.items() %}
{{realm}} = {
{% for key, val in cfg.items() %}
{{key}} = {{val}}
{% endfor %}
}
{% endfor %}
[domain_realm]
{% for domain, realm in krb5_domains.items() %}
{{domain}} = {{realm}}
.{{domain}} = {{realm}}
{% endfor %}