From cc51feb106d6dee655c55adb802b3cfdac778fca Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 9 Dec 2020 13:26:05 +0200 Subject: [PATCH] upgrade: provide DOMAIN to the server upgrade dictionary Rules in ipa-rewrite.conf use $DOMAIN variable but it is not available in the dictionary. Regression was introduced with e731b2725a3772cd037683ff2e08c514fd02019f. Fixes: https://pagure.io/freeipa/issue/8615 Related: https://pagure.io/freeipa/issue/8595 Signed-off-by: Alexander Bokovoy Reviewed-By: Florence Blanc-Renaud --- ipaserver/install/server/upgrade.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ipaserver/install/server/upgrade.py b/ipaserver/install/server/upgrade.py index 18891d53c..00a133a4d 100644 --- a/ipaserver/install/server/upgrade.py +++ b/ipaserver/install/server/upgrade.py @@ -1578,6 +1578,7 @@ def upgrade_configuration(): IPA_CCACHES=paths.IPA_CCACHES, IPA_CUSTODIA_SOCKET=paths.IPA_CUSTODIA_SOCKET, KDCPROXY_CONFIG=paths.KDCPROXY_CONFIG, + DOMAIN=api.env.domain, ) subject_base = find_subject_base()