|
|
cc3dff |
From ef2f198a69dcd707c8101ab1e31b8360ac27c952 Mon Sep 17 00:00:00 2001
|
|
|
cc3dff |
From: Mark Reynolds <mreynolds@redhat.com>
|
|
|
cc3dff |
Date: Mon, 18 Nov 2013 12:49:48 -0500
|
|
|
cc3dff |
Subject: [PATCH 55/65] Ticket 47597 - Convert retro changelog plug-in to betxn
|
|
|
cc3dff |
|
|
|
cc3dff |
Retro cl plugin is already betxn aware. The template and 20betxn.pl script
|
|
|
cc3dff |
needed to be updated to reflect the new default.
|
|
|
cc3dff |
|
|
|
cc3dff |
https://fedorahosted.org/389/ticket/47597
|
|
|
cc3dff |
|
|
|
cc3dff |
Reviewed by: richm(Thanks!)
|
|
|
cc3dff |
(cherry picked from commit 3dca85ec629be641f07ae2ecfef59609d4dc88e2)
|
|
|
cc3dff |
(cherry picked from commit 229d270428dc4cfabd7d367444f1c0b10a60ef87)
|
|
|
cc3dff |
---
|
|
|
cc3dff |
ldap/admin/src/scripts/20betxn.pl | 4 +++-
|
|
|
cc3dff |
ldap/ldif/template-dse.ldif.in | 1 +
|
|
|
cc3dff |
2 files changed, 4 insertions(+), 1 deletion(-)
|
|
|
cc3dff |
|
|
|
cc3dff |
diff --git a/ldap/admin/src/scripts/20betxn.pl b/ldap/admin/src/scripts/20betxn.pl
|
|
|
cc3dff |
index 2c56707..6f9b5e1 100644
|
|
|
cc3dff |
--- a/ldap/admin/src/scripts/20betxn.pl
|
|
|
cc3dff |
+++ b/ldap/admin/src/scripts/20betxn.pl
|
|
|
cc3dff |
@@ -12,10 +12,12 @@ sub runinst {
|
|
|
cc3dff |
# cn=Multimaster Replication Plugin
|
|
|
cc3dff |
# cn=Roles Plugin,cn=plugins,cn=config
|
|
|
cc3dff |
# cn=USN,cn=plugins,cn=config
|
|
|
cc3dff |
+ # cn=Retro Changelog Plugin,cn=plugins,cn=config
|
|
|
cc3dff |
my @objplugins = (
|
|
|
cc3dff |
"cn=Multimaster Replication Plugin,cn=plugins,cn=config",
|
|
|
cc3dff |
"cn=Roles Plugin,cn=plugins,cn=config",
|
|
|
cc3dff |
- "cn=USN,cn=plugins,cn=config"
|
|
|
cc3dff |
+ "cn=USN,cn=plugins,cn=config",
|
|
|
cc3dff |
+ "cn=Retro Changelog Plugin,cn=plugins,cn=config"
|
|
|
cc3dff |
);
|
|
|
cc3dff |
foreach my $plugin (@objplugins) {
|
|
|
cc3dff |
my $ent = $conn->search($plugin, "base", "(cn=*)");
|
|
|
cc3dff |
diff --git a/ldap/ldif/template-dse.ldif.in b/ldap/ldif/template-dse.ldif.in
|
|
|
cc3dff |
index 95ed60c..12df7b6 100644
|
|
|
cc3dff |
--- a/ldap/ldif/template-dse.ldif.in
|
|
|
cc3dff |
+++ b/ldap/ldif/template-dse.ldif.in
|
|
|
cc3dff |
@@ -557,6 +557,7 @@ cn: Retro Changelog Plugin
|
|
|
cc3dff |
nsslapd-pluginpath: libretrocl-plugin
|
|
|
cc3dff |
nsslapd-plugininitfunc: retrocl_plugin_init
|
|
|
cc3dff |
nsslapd-plugintype: object
|
|
|
cc3dff |
+nsslapd-pluginbetxn: on
|
|
|
cc3dff |
nsslapd-pluginenabled: off
|
|
|
cc3dff |
nsslapd-pluginprecedence: 25
|
|
|
cc3dff |
nsslapd-plugin-depends-on-type: database
|
|
|
cc3dff |
--
|
|
|
cc3dff |
1.8.1.4
|
|
|
cc3dff |
|