From c632352a66551c75f72cd4107aa7e67c68d21c6c Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Tue, 01 Jul 2008 10:16:12 +0000
Subject: [PATCH] Fix for issue 3443 : subsuffix replication problem
---
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java b/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java
index c946d22..5c11a47 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java
@@ -3429,7 +3429,8 @@
{
// Check that there is not already a domain with the same DN
DN dn = configuration.getBaseDN();
- if (MultimasterReplication.findDomain(dn,null) != null)
+ ReplicationDomain domain = MultimasterReplication.findDomain(dn, null);
+ if ((domain != null) && (domain.baseDN.equals(dn)))
{
Message message = ERR_SYNC_INVALID_DN.get();
unacceptableReasons.add(message);
--
Gitblit v1.10.0