|
|
dc8c34 |
From 7fd5f3859be9c0c266201dd76853f82cb74ffe9e Mon Sep 17 00:00:00 2001
|
|
|
dc8c34 |
From: Mark Reynolds <mreynolds@redhat.com>
|
|
|
dc8c34 |
Date: Tue, 18 Dec 2012 15:58:32 -0500
|
|
|
dc8c34 |
Subject: [PATCH 23/24] Ticket 541 - RootDN Access Control plugin is missing after upgrade
|
|
|
dc8c34 |
|
|
|
dc8c34 |
Created the upgrade ldif: 50rootdnaccesscontrolplugin.ldif
|
|
|
dc8c34 |
|
|
|
dc8c34 |
https://fedorahosted.org/389/ticket/541
|
|
|
dc8c34 |
|
|
|
dc8c34 |
Reviewed by: richm(Thanks)
|
|
|
dc8c34 |
(cherry picked from commit 9a7fa90eed49f47aa0bc64c496815fececb437f2)
|
|
|
dc8c34 |
---
|
|
|
dc8c34 |
Makefile.am | 1 +
|
|
|
dc8c34 |
Makefile.in | 1 +
|
|
|
dc8c34 |
.../src/scripts/50rootdnaccesscontrolplugin.ldif | 16 ++++++++++++++++
|
|
|
dc8c34 |
3 files changed, 18 insertions(+), 0 deletions(-)
|
|
|
dc8c34 |
create mode 100644 ldap/admin/src/scripts/50rootdnaccesscontrolplugin.ldif
|
|
|
dc8c34 |
|
|
|
dc8c34 |
diff --git a/Makefile.am b/Makefile.am
|
|
|
dc8c34 |
index 507a2d6..9ad2c3a 100644
|
|
|
dc8c34 |
--- a/Makefile.am
|
|
|
dc8c34 |
+++ b/Makefile.am
|
|
|
dc8c34 |
@@ -489,6 +489,7 @@ update_DATA = ldap/admin/src/scripts/exampleupdate.pl \
|
|
|
dc8c34 |
ldap/admin/src/scripts/50faxsyntaxplugin.ldif \
|
|
|
dc8c34 |
ldap/admin/src/scripts/50fixNsState.pl \
|
|
|
dc8c34 |
ldap/admin/src/scripts/50telexnumbersyntaxplugin.ldif \
|
|
|
dc8c34 |
+ ldap/admin/src/scripts/50rootdnaccesscontrolplugin.ldif \
|
|
|
dc8c34 |
ldap/admin/src/scripts/50guidesyntaxplugin.ldif \
|
|
|
dc8c34 |
ldap/ldif/50replication-plugins.ldif \
|
|
|
dc8c34 |
ldap/admin/src/scripts/50linkedattrsplugin.ldif \
|
|
|
dc8c34 |
diff --git a/Makefile.in b/Makefile.in
|
|
|
dc8c34 |
index f105932..f731cfb 100644
|
|
|
dc8c34 |
--- a/Makefile.in
|
|
|
dc8c34 |
+++ b/Makefile.in
|
|
|
dc8c34 |
@@ -1715,6 +1715,7 @@ update_DATA = ldap/admin/src/scripts/exampleupdate.pl \
|
|
|
dc8c34 |
ldap/admin/src/scripts/50faxsyntaxplugin.ldif \
|
|
|
dc8c34 |
ldap/admin/src/scripts/50fixNsState.pl \
|
|
|
dc8c34 |
ldap/admin/src/scripts/50telexnumbersyntaxplugin.ldif \
|
|
|
dc8c34 |
+ ldap/admin/src/scripts/50rootdnaccesscontrolplugin.ldif \
|
|
|
dc8c34 |
ldap/admin/src/scripts/50guidesyntaxplugin.ldif \
|
|
|
dc8c34 |
ldap/ldif/50replication-plugins.ldif \
|
|
|
dc8c34 |
ldap/admin/src/scripts/50linkedattrsplugin.ldif \
|
|
|
dc8c34 |
diff --git a/ldap/admin/src/scripts/50rootdnaccesscontrolplugin.ldif b/ldap/admin/src/scripts/50rootdnaccesscontrolplugin.ldif
|
|
|
dc8c34 |
new file mode 100644
|
|
|
dc8c34 |
index 0000000..1b5e8b0
|
|
|
dc8c34 |
--- /dev/null
|
|
|
dc8c34 |
+++ b/ldap/admin/src/scripts/50rootdnaccesscontrolplugin.ldif
|
|
|
dc8c34 |
@@ -0,0 +1,16 @@
|
|
|
dc8c34 |
+dn: cn=RootDN Access Control,cn=plugins,cn=config
|
|
|
dc8c34 |
+objectclass: top
|
|
|
dc8c34 |
+objectclass: nsSlapdPlugin
|
|
|
dc8c34 |
+objectclass: extensibleObject
|
|
|
dc8c34 |
+cn: RootDN Access Control
|
|
|
dc8c34 |
+nsslapd-pluginpath: librootdn-access-plugin.so
|
|
|
dc8c34 |
+nsslapd-plugininitfunc: rootdn_init
|
|
|
dc8c34 |
+nsslapd-plugintype: internalpreoperation
|
|
|
dc8c34 |
+nsslapd-pluginenabled: on
|
|
|
dc8c34 |
+nsslapd-plugin-depends-on-type: database
|
|
|
dc8c34 |
+# these will be replaced when the server loads the plugin
|
|
|
dc8c34 |
+nsslapd-pluginId: ID
|
|
|
dc8c34 |
+nsslapd-pluginVersion: PACKAGE_VERSION
|
|
|
dc8c34 |
+nsslapd-pluginVendor: VENDOR
|
|
|
dc8c34 |
+nsslapd-pluginDescription: DESC
|
|
|
dc8c34 |
+
|
|
|
dc8c34 |
--
|
|
|
dc8c34 |
1.7.1
|
|
|
dc8c34 |
|