mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-07-29 23:58:23 -05:00
Upgrade: configure PKINIT after adding anonymous principal
In order to set up PKINIT, the anonymous principal must already be created, otherwise the upgrade with fail when trying out anonymous PKINIT. Switch the order of steps so that this issue does not occur. https://pagure.io/freeipa/issue/6792 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
committed by
Martin Basti
parent
6d4c917440
commit
c2d95d3962
@@ -1809,9 +1809,9 @@ def upgrade_configuration():
|
||||
KDC_CERT=paths.KDC_CERT,
|
||||
KDC_KEY=paths.KDC_KEY,
|
||||
CACERT_PEM=paths.CACERT_PEM)
|
||||
setup_pkinit(krb)
|
||||
enable_anonymous_principal(krb)
|
||||
http.request_anon_keytab()
|
||||
setup_pkinit(krb)
|
||||
|
||||
if not ds_running:
|
||||
ds.stop(ds_serverid)
|
||||
|
||||
Reference in New Issue
Block a user