From 30d6c727055491fce991f162f6b7baabac6a28d0 Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Wed, 03 Dec 2014 13:16:31 +0000
Subject: [PATCH] OPENDJ-1647: Fix error when getting Root DN properties (using dsconfig)
---
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GlobalConfiguration.xml | 8 +++++++-
opendj-server2x-adapter/src/test/resources/config/config.ldif | 1 +
opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNConfiguration.xml | 6 ++++++
3 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GlobalConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GlobalConfiguration.xml
index 8442b7b..5b82a43 100644
--- a/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GlobalConfiguration.xml
+++ b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/GlobalConfiguration.xml
@@ -23,7 +23,7 @@
!
!
! Copyright 2007-2010 Sun Microsystems, Inc.
- ! Portions Copyright 2011-2012 ForgeRock AS
+ ! Portions Copyright 2011-2014 ForgeRock AS
! -->
<adm:managed-object name="global" plural-name="globals"
package="org.forgerock.opendj.server.config"
@@ -681,6 +681,12 @@
operations.
</adm:synopsis>
</adm:value>
+ <adm:value name="changelog-read">
+ <adm:synopsis>
+ The privilege that provides the ability to perform read
+ operations on the changelog
+ </adm:synopsis>
+ </adm:value>
</adm:enumeration>
</adm:syntax>
<adm:profile name="ldap">
diff --git a/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNConfiguration.xml b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNConfiguration.xml
index 5a44550..8822541 100644
--- a/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNConfiguration.xml
+++ b/opendj-config-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/RootDNConfiguration.xml
@@ -77,6 +77,7 @@
<adm:value>privilege-change</adm:value>
<adm:value>unindexed-search</adm:value>
<adm:value>subentry-write</adm:value>
+ <adm:value>changelog-read</adm:value>
</adm:defined>
</adm:default-behavior>
<adm:syntax>
@@ -216,6 +217,11 @@
Allows the associated user to perform LDAP subentry write
operations.
</adm:synopsis>
+ </adm:value>
+ <adm:value name="changelog-read">
+ <adm:synopsis>
+ Allows the user to perform read operations on the changelog
+ </adm:synopsis>
</adm:value>
</adm:enumeration>
</adm:syntax>
diff --git a/opendj-server2x-adapter/src/test/resources/config/config.ldif b/opendj-server2x-adapter/src/test/resources/config/config.ldif
index 7a28b1f..ff62fe8 100644
--- a/opendj-server2x-adapter/src/test/resources/config/config.ldif
+++ b/opendj-server2x-adapter/src/test/resources/config/config.ldif
@@ -1923,6 +1923,7 @@
ds-cfg-default-root-privilege-name: privilege-change
ds-cfg-default-root-privilege-name: unindexed-search
ds-cfg-default-root-privilege-name: subentry-write
+ds-cfg-default-root-privilege-name: changelog-read
dn: cn=Directory Manager,cn=Root DNs,cn=config
objectClass: top
--
Gitblit v1.10.0