From 3790dd899db51a47f770ee52f339cfd2539e2bbd Mon Sep 17 00:00:00 2001 From: jvergara <jvergara@localhost> Date: Thu, 17 Jan 2008 08:50:31 +0000 Subject: [PATCH] Fix for 2811 (dsreplication disable doesn't remove references to current server from replicated servers) The fix makes dsreplication enable and dsreplication disable symmetric. When the user disables the last replicated suffix, we inform that the replication server will also be disabled. So when the last repilcated suffix is disabled, replication on cn=schema and cn=admin data are also disabled and the registration information updated properly. --- opends/src/messages/messages/admin_tool.properties | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/opends/src/messages/messages/admin_tool.properties b/opends/src/messages/messages/admin_tool.properties index 1c8245d..ef22285 100644 --- a/opends/src/messages/messages/admin_tool.properties +++ b/opends/src/messages/messages/admin_tool.properties @@ -20,7 +20,7 @@ # # CDDL HEADER END # -# Portions Copyright 2006-2007 Sun Microsystems, Inc. +# Portions Copyright 2006-2008 Sun Microsystems, Inc. @@ -659,6 +659,10 @@ INFO_REPLICATION_CONFIRM_DISABLE_GENERIC=Disabling replication will make the \ data under the selected base DNs not to be synchronized with other servers \ any more. Do you want to continue? +INFO_REPLICATION_CONFIRM_DISABLE_LAST_SUFFIXES=Disabling replication will make \ + the data under the selected base DNs not to be synchronized with other \ + servers any more. The replication port on the server will also be disabled. \ + Do you want to continue? INFO_REPLICATION_CONFIRM_INITIALIZE_ADS=You chose to initialize the contents \ of base DN %s on server %s with the contents in server %s. This base DN is \ used by the replication mechanism and by some administrative tools and it is \ @@ -702,6 +706,8 @@ not find a peer to start the initialization after several tries. Details: %s SEVERE_ERR_REPLICATION_CONFIGURING_REPLICATIONSERVER=Error configuring \ replication port on server %s. +SEVERE_ERR_REPLICATION_DISABLING_REPLICATIONSERVER=Error disabling \ + replication port on server %s. SEVERE_ERR_REPLICATION_CONFIGURING_BASEDN=Error updating replication \ configuration on base DN %s of server %s. SEVERE_ERR_REPLICATION_UPDATING_ADS=Error updating Registration information. \ @@ -717,6 +723,8 @@ %s of server %s INFO_REPLICATION_DISABLING_BASEDN=Disabling replication on base DN %s of \ server %s +INFO_REPLICATION_DISABLING_REPLICATION_SERVER=Disabling replication port %s of \ + server %s INFO_REPLICATION_STATUS_NO_BASEDNS=No base DNs found. INFO_REPLICATION_STATUS_BASEDN=Base DN INFO_REPLICATION_STATUS_IS_REPLICATED=Replication -- Gitblit v1.10.0