mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

gbellato
01.16.2008 d85d15aed05200952011e3afb0c216dcf49011ff
Fix for issue 3443 : subsuffix replication problem

when a new replication domain, the check that was done to
verify that there isn't a domain already configured for the
given base-dn was wrong and was preventing configuration
of sub-suffix replication.
This code now prevent creation only if the suffixes are
equals.

1 files modified
3 ■■■■ changed files
opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java 3 ●●●● patch | view | raw | blame | history
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);