URL: https://github.com/freeipa/freeipa/pull/1038 Author: tomaskrizek Title: #1038: Backport PR 1010 to ipa-4-6 Action: opened
PR body: """ This PR was opened automatically because PR #1010 was pushed to master and backport to ipa-4-6 is required. """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1038/head:pr1038 git checkout pr1038
From 7be0bebd2ddaaf1081477ae6bc57ffe4d4f41900 Mon Sep 17 00:00:00 2001 From: Pavel Vomacka <pvoma...@redhat.com> Date: Mon, 28 Aug 2017 10:51:53 +0200 Subject: [PATCH] Adds whoami DS plugin in case that plugin is missing When first installation of IPA has been done when whoami plugin was not enabled in DS by default and then IPA was upgraded to newer versions, then after upgrade to IPA 4.5 WebUI stops working. This is caused by new requirement on whoami DS plugin which is used to obtain information about logged in entity. This fix adds the whoami plugin during update in case that the plugin is not enabled. https://pagure.io/freeipa/issue/7126 --- install/updates/20-whoami.update | 14 ++++++++++++++ install/updates/Makefile.am | 1 + 2 files changed, 15 insertions(+) create mode 100644 install/updates/20-whoami.update diff --git a/install/updates/20-whoami.update b/install/updates/20-whoami.update new file mode 100644 index 0000000000..ed2c6cbd77 --- /dev/null +++ b/install/updates/20-whoami.update @@ -0,0 +1,14 @@ +dn: cn=whoami,cn=plugins,cn=config +default:objectClass: top +default:objectClass: nsSlapdPlugin +default:objectClass: extensibleObject +default:cn: whoami +default:nsslapd-plugin-depends-on-type: database +default:nsslapd-pluginDescription: whoami extended operation plugin +default:nsslapd-pluginEnabled: on +default:nsslapd-pluginId: whoami-plugin +default:nsslapd-pluginInitfunc: whoami_init +default:nsslapd-pluginPath: libwhoami-plugin +default:nsslapd-pluginType: extendedop +default:nsslapd-pluginVendor: 389 Project +default:nsslapd-pluginVersion: 1.0 diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am index e18d01127b..ae3d3e0528 100644 --- a/install/updates/Makefile.am +++ b/install/updates/Makefile.am @@ -24,6 +24,7 @@ app_DATA = \ 20-idoverride_index.update \ 20-uuid.update \ 20-default_password_policy.update \ + 20-whoami.update \ 21-replicas_container.update \ 21-ca_renewal_container.update \ 21-certstore_container.update \
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org