From b48ce50fdf4d73e8be3799e3a7c6c2bf9d1b2965 Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Sun, 02 Sep 2007 17:58:07 +0000
Subject: [PATCH] fix for #1733 & #845 - Initialization of replication
---
opends/src/server/org/opends/server/core/SchemaConfigManager.java | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/SchemaConfigManager.java b/opends/src/server/org/opends/server/core/SchemaConfigManager.java
index fcdd15d..938d54e 100644
--- a/opends/src/server/org/opends/server/core/SchemaConfigManager.java
+++ b/opends/src/server/org/opends/server/core/SchemaConfigManager.java
@@ -720,6 +720,14 @@
new MatchingRuleUseSyntax());
}
+ AttributeType synchronizationGenerationIdType =
+ schema.getAttributeType(ATTR_SYNCHRONIZATION_GENERATIONID_LC);
+ if (synchronizationGenerationIdType == null)
+ {
+ synchronizationGenerationIdType = DirectoryServer.getDefaultAttributeType
+ (ATTR_SYNCHRONIZATION_GENERATIONID_LC, new MatchingRuleUseSyntax());
+ }
+
List<Attribute> synchronizationState =
entry.getAttribute(synchronizationStateType);
if (synchronizationState != null && !(synchronizationState.isEmpty()))
--
Gitblit v1.10.0