From 608851d3f86a9082b394c30fe0c7a7b33d43f363 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Mon, 13 Oct 2014 14:30:15 +0200 Subject: Check LDAP instead of local configuration to see if IPA CA is enabled The check is done using a new hidden command ca_is_enabled. https://fedorahosted.org/freeipa/ticket/4621 Reviewed-By: David Kupka --- install/tools/ipa-server-install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'install/tools/ipa-server-install') diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install index 39c13547c..3fa7bd72a 100755 --- a/install/tools/ipa-server-install +++ b/install/tools/ipa-server-install @@ -1231,11 +1231,13 @@ def main(): http.create_instance( realm_name, host_name, domain_name, dm_password, pkcs12_info=http_pkcs12_info, subject_base=options.subject, - auto_redirect=options.ui_redirect) + auto_redirect=options.ui_redirect, + ca_is_configured=setup_ca) else: http.create_instance( realm_name, host_name, domain_name, dm_password, - subject_base=options.subject, auto_redirect=options.ui_redirect) + subject_base=options.subject, auto_redirect=options.ui_redirect, + ca_is_configured=setup_ca) tasks.restore_context(paths.CACHE_IPA_SESSIONS) # Export full CA chain -- cgit