From 5e164ec03b7c543e3df639e60172fa34d97b8628 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Sat, 01 Sep 2007 17:38:28 +0000
Subject: [PATCH] Fix a number of bugs in the implementation of Replication CLI. The utility now is able to enable, disable and initialize suffixes. The latest modifications introduced by Scott in the class Installer are also included in this commit.
---
opends/src/messages/messages/admin_tool.properties | 56 +++++++++++++++++++++++++++++++++++++++-----------------
1 files changed, 39 insertions(+), 17 deletions(-)
diff --git a/opends/src/messages/messages/admin_tool.properties b/opends/src/messages/messages/admin_tool.properties
index d4ea5e6..61d537e 100644
--- a/opends/src/messages/messages/admin_tool.properties
+++ b/opends/src/messages/messages/admin_tool.properties
@@ -400,6 +400,8 @@
INFO_DESCRIPTION_ENABLE_REPLICATION_BINDDN2=Specifies the DN to use to \
bind to the second server whose contents will be replicated. If not \
specified the global administrator will be used to bind
+INFO_DESCRIPTION_ENABLE_REPLICATION_SKIPPORT=Skip the check to determine \
+ whether the specified replication ports are usable
INFO_DESCRIPTION_ENABLE_REPLICATION_BINDPASSWORD2=Specifies the password \
to use to bind to the second server whose contents will be replicated. If no \
bind DN was specified for the first server the password of the global \
@@ -455,6 +457,12 @@
servers with the contents of the other using the {%s} subcommand.
INFO_REPLICATION_DESCRIPTION_QUIET=Perform a quiet operation (no \
progress information is written to the standard output)
+INFO_DESCRIPTION_DISABLE_REPLICATION_BINDDN=Specifies the DN to use to \
+ bind to the server where we want to disable replication. This option must \
+ be used when no Global Administrator has been defined on the server or if the \
+ user does not want to remove references in the other replicated servers. The \
+ password provided for the Global Administrator will be used when specifying \
+ this option.
INFO_DESCRIPTION_SUBCMD_INITIALIZE_REPLICATION=Initialize the contents of the \
data under the specified Bind DN on the destination server with the contents \
on the source server. This operation is required after enabling replication \
@@ -477,6 +485,9 @@
base DN.
SEVERE_ERR_REPLICATION_SAME_SERVER_PORT=You have to provide two different \
servers to replicate. You have provided twice the server %s:%s
+SEVERE_ERR_REPLICATION_PORT_AND_REPLICATION_PORT_EQUAL=The server LDAP port \
+ and the replication port have the same value in host %s. You provided %s \
+ for both.
SEVERE_ERR_REPLICATION_SAME_REPLICATION_PORT=You have provided the same \
replication port (%s) for two servers located on the same machine (%s).
SEVERE_ERR_REPLICATION_VALID_SUBCOMMAND_NOT_FOUND=Could not find a valid \
@@ -488,39 +499,48 @@
SEVERE_ERR_REPLICATION_NO_MESSAGE=
SEVERE_ERR_UNINSTALL_FORCE_REQUIRES_NO_PROMPT=The {%s} argument only can be \
used when {%s} has been specified
-INFO_ADMINISTRATOR_UID_PROMPT=Global Administrator User ID:
+INFO_REPLICATION_ENABLE_ADMINISTRATOR_MUST_BE_CREATED=You must provide the \
+credentials of the Global Administrator that will be used to manage the OpenDS \
+instances that are being replicated.
+INFO_ADMINISTRATOR_UID_PROMPT=Global Administrator User ID
INFO_ADMINISTRATOR_PWD_PROMPT=Global Administrator Password:
INFO_ADMINISTRATOR_PWD_CONFIRM_PROMPT=Confirm Password:
MILD_ERR_ADMINISTRATOR_PWD_DO_NOT_MATCH=The provided passwords do not match.
MILD_ERR_ERROR_CONNECTING_TO_SERVER_PROMPT_AGAIN=Could not connect to the \
- Directory Server %s with the provided credentials.%nError details: %s%nProvide \
- again the required information to connect to the server:
+ Directory Server %s with the provided credentials.%nError details: %s%n%n\
+ Provide again the required information to connect to the server:
MILD_ERR_STATUS_CLI_ERROR_CONNECTING_PROMPT_AGAIN=Could not connect to the \
Directory Server with the provided credentials.%nError details: %s%nProvide \
again the required information to connect to the server:
-INFO_REPLICATION_ENABLE_HOSTNAME1_PROMPT=Host name of the first server:
-INFO_REPLICATION_ENABLE_PORT1_PROMPT=LDAP port of the first server:
+INFO_REPLICATION_ENABLE_HOSTNAME1_PROMPT=Host name of the first server
+INFO_REPLICATION_ENABLE_PORT1_PROMPT=LDAP port of the first server
INFO_REPLICATION_ENABLE_REPLICATIONPORT1_PROMPT=Replication port for the first \
-server (the port must be free):
-INFO_REPLICATION_ENABLE_HOSTNAME2_PROMPT=Host name of the second server:
-INFO_REPLICATION_ENABLE_PORT2_PROMPT=LDAP port of the second server:
+ server (the port must be free)
+INFO_REPLICATION_ENABLE_BINDDN1_PROMPT=Bind DN for the first server
+INFO_REPLICATION_ENABLE_PASSWORD1_PROMPT=Password for %s on the first server:
+INFO_REPLICATION_ENABLE_HOSTNAME2_PROMPT=Host name of the second server
+INFO_REPLICATION_ENABLE_PORT2_PROMPT=LDAP port of the second server
INFO_REPLICATION_ENABLE_REPLICATIONPORT2_PROMPT=Replication port for the \
-second server (the port must be free):
+second server (the port must be free)
+INFO_REPLICATION_ENABLE_BINDDN2_PROMPT=Bind DN for the second server
+INFO_REPLICATION_ENABLE_PASSWORD2_PROMPT=Password for %s on the second server:
INFO_REPLICATION_INITIALIZE_HOSTNAMESOURCE_PROMPT=Host name of the source \
-server:
-INFO_REPLICATION_INITIALIZE_PORTSOURCE_PROMPT=LDAP port of the source server:
-INFO_REPLICATION_DISABLE_HOSTNAME_PROMPT=Host name of the server:
-INFO_REPLICATION_DISABLE_PORT_PROMPT=LDAP port of the server:
+ server
+INFO_REPLICATION_INITIALIZE_PORTSOURCE_PROMPT=LDAP port of the source server
+INFO_REPLICATION_DISABLE_HOSTNAME_PROMPT=Host name of the server
+INFO_REPLICATION_DISABLE_PORT_PROMPT=LDAP port of the server
+INFO_REPLICATION_DISABLE_BINDDN_PROMPT=Global Administrator User ID (or bind \
+DN if no Global Administrator is defined)
+INFO_REPLICATION_DISABLE_PASSWORD_PROMPT=Password for %s:
+
INFO_REPLICATION_INITIALIZE_HOSTNAMEDESTINATION_PROMPT=Host name of the \
-destination server:
+ destination server
INFO_REPLICATION_INITIALIZE_PORTDESTINATION_PROMPT=LDAP port of the \
-destination server:
+ destination server
INFO_CLI_BINDDN_PROMPT=Bind DN
INFO_CLI_USESSL_PROMPT=Use SSL to connect?
INFO_CLI_INVALID_PORT=The provided value is not a valid port
INFO_CLI_USESTARTTLS_PROMPT=Use StartTLS to connect?
-SEVERE_ERR_REPLICATION_PORT_AND_REPLICATION_PORT_EQUAL=The server LDAP port \
- and the replication port cannot have the same value. You provided %s for both.
SEVERE_ERR_NO_SUFFIXES_AVAILABLE_TO_ENABLE_REPLICATION=There are no base DNs \
available to enable replication between the two servers.
INFO_ALREADY_REPLICATED_SUFFIXES=The following base DNs are already replicated \
@@ -584,6 +604,8 @@
on server %s
INFO_ENABLE_REPLICATION_INITIALIZING_ADS=Initializing Registration information \
on server %s with the contents of server %s
+SEVERE_ERR_REPLICATION_ENABLE_SEEDING_TRUSTSTORE=An unexpected error occurred \
+ seeding the truststore contentes. Details: %s
SEVERE_ERR_INITIALIZING_REPLICATIONID_NOT_FOUND=Error initializing. Could not \
find replication ID in the server %s for base DN %s.
SEVERE_ERR_REPLICATION_INITIALIZING_TRIES_COMPLETED=Error initializing. Could \
--
Gitblit v1.10.0