From 65582f3ed724413a28940a241904479c1213d9d0 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Tue, 06 Nov 2012 13:16:26 +0000
Subject: [PATCH] Fix OPENDJ-532 : When replication is enabled cn=changelog appears in namingcontexts output. The external changelog is not a regular naming context and shouldn't be listed as such. This fix removes it from the list of "namingContexts" in the rootDSE. The suffix for the changelog is given by the changelog operational attribute in the rootDSE.

---
 opends/src/server/org/opends/server/workflowelement/externalchangelog/ECLWorkflowElement.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/workflowelement/externalchangelog/ECLWorkflowElement.java b/opends/src/server/org/opends/server/workflowelement/externalchangelog/ECLWorkflowElement.java
index b0d20bc..1deeec6 100644
--- a/opends/src/server/org/opends/server/workflowelement/externalchangelog/ECLWorkflowElement.java
+++ b/opends/src/server/org/opends/server/workflowelement/externalchangelog/ECLWorkflowElement.java
@@ -23,6 +23,7 @@
  *
  *
  *      Copyright 2009 Sun Microsystems, Inc.
+ *      Portions Copyright 2012 ForgeRock AS
  */
 package org.opends.server.workflowelement.externalchangelog;
 
@@ -87,6 +88,7 @@
   {
     this.replicationServer =rs;
     super.initialize(ECL_WORKFLOW_ELEMENT, ECL_WORKFLOW_ELEMENT);
+    super.setPrivate(true);
     DirectoryServer.registerWorkflowElement(this);
   }
 
@@ -149,7 +151,7 @@
    *                               operation
    */
   @SuppressWarnings("unchecked")
-  public static final <O extends Operation,L> void
+  public static <O extends Operation,L> void
               attachLocalOperation (O globalOperation, L currentLocalOperation)
   {
     List<?> existingAttachment =

--
Gitblit v1.10.0