freeipa/ipaserver/install/server
Christian Heimes 994f71ac8a Use single Custodia instance in installers
Installers now pass a single CustodiaInstance object around, instead of
creating new instances on demand. In case of replica promotion with CA,
the instance gets all secrets from a master with CA present. Before, an
installer created multiple instances and may have requested CA key
material from a different machine than DM password hash.

In case of Domain Level 1 and replica promotion, the CustodiaInstance no
longer adds the keys to the local instance and waits for replication to
other replica. Instead the installer directly uploads the new public
keys to the remote 389-DS instance.

Without promotion, new Custodia public keys are still added to local
389-DS over LDAPI.

Fixes: https://pagure.io/freeipa/issue/7518
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Simo Sorce <ssorce@redhat.com>
2018-04-26 21:19:53 +02:00
..
__init__.py install: validate AD trust-related options in installers 2018-04-17 14:28:45 +02:00
install.py Use single Custodia instance in installers 2018-04-26 21:19:53 +02:00
replicainstall.py Use single Custodia instance in installers 2018-04-26 21:19:53 +02:00
upgrade.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00