URL:
https://github.com/freeipa/freeipa/pull/1865
Author: tiran
Title: #1865: [Backport][ipa-4-5] Use single Custodia instance in installers
Action: opened
PR body:
"""
Manual backport of PR #1860
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(a)redhat.com>
Reviewed-By: Simo Sorce <ssorce(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1865/head:pr1865
git checkout pr1865