opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ServerLoader.java
@@ -217,7 +217,7 @@ { lastLdapUrl = connection.getLDAPURL(); ConnectionWrapper conn = new ConnectionWrapper(lastLdapUrl, connection.getType(), dn.toString(), pwd, timeout, trustManager); new ConnectionWrapper(lastLdapUrl, connection.getType(), dn, pwd, timeout, trustManager); if (conn.getLdapContext() != null) { return conn;