summaryrefslogtreecommitdiffstats
path: root/client/ipa-client-install
diff options
context:
space:
mode:
Diffstat (limited to 'client/ipa-client-install')
-rwxr-xr-xclient/ipa-client-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/ipa-client-install b/client/ipa-client-install
index 7306c810a..3ee59437a 100755
--- a/client/ipa-client-install
+++ b/client/ipa-client-install
@@ -2734,7 +2734,6 @@ def install(options, env, fstore, statestore):
debug=options.debug,
delegate=False,
nss_dir=tmp_db.secdir)
- api.finalize()
if 'config_loaded' not in api.env:
root_logger.error("Failed to initialize IPA API.")
return CLIENT_INSTALL_ERROR
@@ -2795,6 +2794,8 @@ def install(options, env, fstore, statestore):
root_logger.info("Failed to add CA to temporary NSS database.")
return CLIENT_INSTALL_ERROR
+ api.finalize()
+
# Now, let's try to connect to the server's RPC interface
connected = False
try: