mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 08:06:30 -06:00
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>
This commit is contained in:
parent
ad32bf147e
commit
2793cdc859
@ -1589,7 +1589,6 @@ def upgrade_configuration():
|
|||||||
http = httpinstance.HTTPInstance(fstore)
|
http = httpinstance.HTTPInstance(fstore)
|
||||||
http.fqdn = fqdn
|
http.fqdn = fqdn
|
||||||
http.realm = api.env.realm
|
http.realm = api.env.realm
|
||||||
http.principal = "HTTP/%s@%s" % (http.fqdn, http.realm)
|
|
||||||
http.configure_selinux_for_httpd()
|
http.configure_selinux_for_httpd()
|
||||||
http.change_mod_nss_port_from_http()
|
http.change_mod_nss_port_from_http()
|
||||||
|
|
||||||
@ -1612,7 +1611,6 @@ def upgrade_configuration():
|
|||||||
ds.fqdn = fqdn
|
ds.fqdn = fqdn
|
||||||
ds.realm = api.env.realm
|
ds.realm = api.env.realm
|
||||||
ds.suffix = ipautil.realm_to_suffix(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)
|
ds_enable_sidgen_extdom_plugins(ds)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user