summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/install/server/upgrade.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ipaserver/install/server/upgrade.py b/ipaserver/install/server/upgrade.py
index 784a03b19..822f74622 100644
--- a/ipaserver/install/server/upgrade.py
+++ b/ipaserver/install/server/upgrade.py
@@ -1363,6 +1363,12 @@ def upgrade_configuration():
if not http.is_kdcproxy_configured():
root_logger.info('[Enabling KDC Proxy]')
+ if http.admin_conn is None:
+ http.ldapi = True
+ http.fqdn = fqdn
+ http.realm = api.env.realm
+ http.suffix = ipautil.realm_to_suffix(api.env.realm)
+ http.ldap_connect()
http.create_kdcproxy_conf()
http.enable_kdcproxy()