From 8fb27822a0621950de7c1392fbda0f52e5c6be59 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 05 Sep 2007 17:01:23 +0000
Subject: [PATCH] Have more specific error messages and fix a bug in initialization in non-prompt mode.

---
 opends/src/messages/messages/admin_tool.properties |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/opends/src/messages/messages/admin_tool.properties b/opends/src/messages/messages/admin_tool.properties
index 7dcca3e..2545c1a 100644
--- a/opends/src/messages/messages/admin_tool.properties
+++ b/opends/src/messages/messages/admin_tool.properties
@@ -499,8 +499,12 @@
  provide it using the {%s} or the {%s} options.
 SEVERE_ERR_REPLICATION_NOT_A_VALID_BASEDN=The provided value %s is not a valid \
  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_ENABLE_SAME_SERVER_PORT=You have to provide two \
+ different servers to enable replication.  You have provided twice the server \
+ %s:%s
+SEVERE_ERR_REPLICATION_INITIALIZE_SAME_SERVER_PORT=You have to provide two \
+ different servers as source and destination of the initialization.  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.

--
Gitblit v1.10.0