summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Krizek <tkrizek@redhat.com>2016-11-21 10:37:22 +0100
committerMartin Babinsky <mbabinsk@redhat.com>2016-11-21 16:13:51 +0100
commit2793cdc8593c40d8318ec3685408ade6bf9a5320 (patch)
tree3a77ee91990df60adf6beeeca30edbfb2809d67e
parentad32bf147ed6996c0967bb8e8cfb803113ceaf5f (diff)
upgrade: do not explicitly set principal for services
After installer refactoring, principal is a property of service. https://fedorahosted.org/freeipa/ticket/6500 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
-rw-r--r--ipaserver/install/server/upgrade.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/ipaserver/install/server/upgrade.py b/ipaserver/install/server/upgrade.py
index 5f6101589..d93b9082b 100644
--- a/ipaserver/install/server/upgrade.py
+++ b/ipaserver/install/server/upgrade.py
@@ -1589,7 +1589,6 @@ def upgrade_configuration():
http = httpinstance.HTTPInstance(fstore)
http.fqdn = fqdn
http.realm = api.env.realm
- http.principal = "HTTP/%s@%s" % (http.fqdn, http.realm)
http.configure_selinux_for_httpd()
http.change_mod_nss_port_from_http()
@@ -1612,7 +1611,6 @@ def upgrade_configuration():
ds.fqdn = fqdn
ds.realm = api.env.realm
ds.suffix = ipautil.realm_to_suffix(api.env.realm)
- ds.principal = "ldap/%s@%s" % (ds.fqdn, ds.realm)
ds_enable_sidgen_extdom_plugins(ds)