ipaclient: Set default_domain in krb5.conf in the same way as ipa-client-install

Set default_domain if not ipadiscovery.dnsok or not ipadiscovery.kdc like it
is done in ipa-client-install.
This commit is contained in:
Thomas Woerner
2018-07-19 13:00:39 +02:00
parent 0154f36a69
commit 1b2f6d7e8b
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ includedir {{ krb5_include_d }}
admin_server = {{ server }}:749
kpasswd_server = {{ server }}:464
{% endfor %}
{% if krb5_no_default_domain | bool %}
{% if krb5_default_domain | bool %}
default_domain = {{ krb5_realm | lower }}
{% endif %}
{% if krb5_pkinit_anchors is defined %}