summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/ca.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/ipaserver/install/ca.py b/ipaserver/install/ca.py
index b84756922..498cc48a7 100644
--- a/ipaserver/install/ca.py
+++ b/ipaserver/install/ca.py
@@ -122,7 +122,16 @@ def install_step_0(standalone, replica_config, options):
postinstall = True
else:
postinstall = False
+
+ if standalone:
+ api.Backend.ldap2.disconnect()
+
cainstance.install_replica_ca(replica_config, postinstall)
+
+ if standalone:
+ api.Backend.ldap2.connect(bind_dn=DN(('cn', 'Directory Manager')),
+ bind_pw=dm_password)
+
return
if options.external_cert_files: