From 902d677f1d79cfa169f0c021f294543eb26bb327 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Thu, 24 Mar 2011 17:14:25 +0000
Subject: [PATCH] Fix for OPENDJ-58 : cn=schema attribute store twice in 99-user.ldif schema file. Prevent replication from adding cn and other schema attributes to the extra-attribute that are added to the schema entry written to the LDIF file. Fix also some messages (and translations)
---
opends/src/server/org/opends/server/core/SchemaConfigManager.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/SchemaConfigManager.java b/opends/src/server/org/opends/server/core/SchemaConfigManager.java
index 82dac13..866fd8d 100644
--- a/opends/src/server/org/opends/server/core/SchemaConfigManager.java
+++ b/opends/src/server/org/opends/server/core/SchemaConfigManager.java
@@ -23,6 +23,7 @@
*
*
* Copyright 2006-2010 Sun Microsystems, Inc.
+ * Portions Copyright 2011 ForgeRock AS
*/
package org.opends.server.core;
import org.opends.messages.Message;
@@ -1522,7 +1523,7 @@
* false if the attribute is not part of the schema
* definition.
*/
- private static boolean isSchemaAttribute(Attribute attribute)
+ public static boolean isSchemaAttribute(Attribute attribute)
{
String attributeOid = attribute.getAttributeType().getOID();
if (attributeOid.equals("2.5.21.1") ||
--
Gitblit v1.10.0