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

Jean-Noël Rouvignac
12.24.2016 eee460507c52a633964f40b2b9ed797872fdc2e2
opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java
@@ -2766,7 +2766,7 @@
  private ConnectionWrapper createConnection(AuthenticationData auth) throws NamingException
  {
    String ldapUrl = auth.getLdapUrl();
    DN dn = DN.valueOf(auth.getDn());
    DN dn = auth.getDn();
    String pwd = auth.getPwd();
    if (auth.useSecureConnection())
@@ -3265,7 +3265,7 @@
    {
      AuthenticationData auth = new AuthenticationData();
      auth.setHostPort(new HostPort("".equals(host) ? null : host, port != null ? port : 0));
      auth.setDn(dn.toString());
      auth.setDn(dn);
      auth.setPwd(pwd);
      auth.setUseSecureConnection(true);
@@ -4130,8 +4130,7 @@
      }
      server.setAdsProperties(adsProperties);
    }
    return getRemoteConnection(server, DN.valueOf(auth.getDn()), auth.getPwd(), getConnectTimeout(),
        getPreferredConnections());
    return getRemoteConnection(server, auth.getDn(), auth.getPwd(), getConnectTimeout(), getPreferredConnections());
  }
  /**