summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/server
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2016-02-18 19:59:50 +0100
committerMartin Basti <mbasti@redhat.com>2016-02-23 17:35:20 +0100
commit9818e463f5d0a91b300801ee7c8f31f25de402b2 (patch)
tree4e0716c378754f7579abe8ed104447a5966c3366 /ipaserver/install/server
parenta1e582b33c42bcc8a708777afb975e7dc571ee3d (diff)
downloadfreeipa-9818e463f5d0a91b300801ee7c8f31f25de402b2.tar.gz
freeipa-9818e463f5d0a91b300801ee7c8f31f25de402b2.tar.xz
freeipa-9818e463f5d0a91b300801ee7c8f31f25de402b2.zip
upgrade: fix config of sidgen and extdom plugins
During upgrade to IPA 4.2, literally "$SUFFIX" value was added to configuration of sidgen and extdom plugins. This cause that SID are not properly configured. Upgrade must fix "$SUFFIX" to reals suffix DN, and run sidgen task against IPA domain (if exists). All trusts added when plugins configuration was broken must be re-added. https://fedorahosted.org/freeipa/ticket/5665 Reviewed-By: Tomas Babej <tbabej@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'ipaserver/install/server')
-rw-r--r--ipaserver/install/server/upgrade.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/server/upgrade.py b/ipaserver/install/server/upgrade.py
index a88c0ff68..7e186a588 100644
--- a/ipaserver/install/server/upgrade.py
+++ b/ipaserver/install/server/upgrade.py
@@ -1371,8 +1371,8 @@ def ds_enable_sidgen_extdom_plugins(ds):
root_logger.debug('sidgen and extdom plugins are enabled already')
return
- ds.add_sidgen_plugin()
- ds.add_extdom_plugin()
+ ds.add_sidgen_plugin(api.env.basedn)
+ ds.add_extdom_plugin(api.env.basedn)
sysupgrade.set_upgrade_state('ds', 'enable_ds_sidgen_extdom_plugins', True)
def ca_upgrade_schema(ca):