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

Nicolas Capponi
03.41.2016 aaf1f09351c43d52009c6b53b93eb153ace8428e
opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/LDAPReplicationDomain.java
@@ -3694,7 +3694,7 @@
   */
  private LocalBackend<?> getBackend()
  {
    return DirectoryServer.getLocalBackend(getBaseDN());
    return DirectoryServer.getInstance().getServerContext().getBackendConfigManager().getLocalBackend(getBaseDN());
  }
  /*
@@ -3761,7 +3761,7 @@
    }
    // Check that the base DN is configured as a base-dn of the directory server
    if (DirectoryServer.getLocalBackend(dn) == null)
    if (DirectoryServer.getInstance().getServerContext().getBackendConfigManager().getLocalBackend(dn) == null)
    {
      unacceptableReasons.add(ERR_UNKNOWN_DN.get(dn));
      return false;