Fix CA replica install on DL1

Dogtag requires Directory Manager password for its installation.
On Domain Level 1 a special password for Directory Manager is
created and used during the installation. However, by importing
the real DM password from remote LDAP, we can no longer use
the temporary password from the replica installation.

https://fedorahosted.org/freeipa/ticket/6392

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
Stanislav Laznicka authored and Jan Cholasta committed 2016-11-11 12:17:25 +01:00
1 parent 7cd3b1bfa7
commit 8c742b1539
1 file changed
+1 -1
+1 -1
View File
@@ -1378,7 +1378,6 @@ def install(installer):
config.realm_name)
if promote:
custodia.create_replica(config.master_host_name)
custodia.import_dm_password(config.master_host_name)
else:
custodia.create_instance()
@@ -1400,6 +1399,7 @@ def install(installer):
krb.restart()
if promote:
custodia.import_dm_password(config.master_host_name)
promote_sssd(config.host_name)
promote_openldap_conf(config.host_name, config.master_host_name)