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

Fabio Pistolesi
25.10.2015 0884d9461e3f1d4ef446ec10f5adefa2d0ed3bb8
OPENDJ-2467 Cannot enable replication using interactive mode of dsreplication tool

Enabling replication should allow for the admin user being absent while interactively enabling replication.
Other cases where two servers are involved have the admin user already in place.
1 files modified
1 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/tools/dsreplication/ReplicationCliMain.java 1 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/tools/dsreplication/ReplicationCliMain.java
@@ -2422,6 +2422,7 @@
       */
      destinationServerCI.initializeGlobalArguments(host2, port2, adminUid, bindDn2, pwd,
          pwdFile == null ? null : new LinkedHashMap<String, String>(pwdFile));
      destinationServerCI.setUseAdminOrBindDn(true);
    }
    InitialLdapContext ctx2 = null;