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

Jean-Noël Rouvignac
04.30.2016 470936255a009dd659e3736df92ce1a6c2767362
opendj-server-legacy/src/main/java/org/opends/server/tools/EncodePassword.java
@@ -701,7 +701,6 @@
  throws InitializationException, ConfigException {
    directoryServer.initializeRootDSE();
    RootCfg root = directoryServer.getServerContext().getServerManagementContext().getRootConfiguration();
    Entry backendRoot;
    try {
      DN configEntryDN = DN.valueOf(ConfigConstants.DN_BACKEND_BASE);
@@ -715,6 +714,8 @@
      LocalizableMessage message = ERR_CONFIG_BACKEND_BASE_DOES_NOT_EXIST.get();
      throw new ConfigException(message);
    }
    RootCfg root = directoryServer.getServerContext().getRootConfig();
    for (String name : root.listBackends()) {
      BackendCfg backendCfg = root.getBackend(name);
      String backendID = backendCfg.getBackendId();