| | |
| | | * @return whether the current task should continue |
| | | */ |
| | | boolean confirmOperation(SourceDestinationServerUserData uData, ConnectionWrapper connSource, |
| | | ConnectionWrapper connDestination, final boolean defaultValue); |
| | | ConnectionWrapper connDestination, boolean defaultValue); |
| | | } |
| | | |
| | | /** The argument parser to be used. */ |
| | |
| | | |
| | | try |
| | | { |
| | | |
| | | List<DN> suffixes = toDNs(argParser.getBaseDNs()); |
| | | checkSuffixesForInitializeReplication(suffixes, conn, true); |
| | | if (suffixes.isEmpty()) |
| | |
| | | { |
| | | uData.setBaseDNs(toDNs(argParser.getBaseDNs())); |
| | | String adminUid = argParser.getAdministratorUID(); |
| | | DN bindDn = DN.valueOf(argParser.getBindDNToDisable()); |
| | | String bindDnStr = argParser.getBindDNToDisable(); |
| | | DN bindDn = bindDnStr != null ? DN.valueOf(bindDnStr) : null; |
| | | if (bindDn == null && adminUid == null) |
| | | { |
| | | adminUid = argParser.getAdministratorUIDOrDefault(); |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | boolean somethingDisplayed = false; |
| | | if (!oneReplicated && displayAll) |
| | | { |
| | |
| | | print(formatter.getFormattedWithPoints( |
| | | INFO_REPLICATION_ENABLE_CONFIGURING_REPLICATION_SERVER.get(conn.getHostPort()))); |
| | | |
| | | |
| | | /* Configure Synchronization plugin. */ |
| | | ReplicationSynchronizationProviderCfgClient sync = null; |
| | | try |