From 06ec8c88556b02782c7b91a233de91eaf4a1439d Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 09 Jun 2009 12:28:05 +0000
Subject: [PATCH] Fix for issue 3550 (Consider making the control panel able to manage remote servers)

---
 opends/src/messages/messages/admin_tool.properties |   80 ++++++++++++++++++++++++++++++++++++++--
 1 files changed, 76 insertions(+), 4 deletions(-)

diff --git a/opends/src/messages/messages/admin_tool.properties b/opends/src/messages/messages/admin_tool.properties
index 59feb12..85abcc2 100644
--- a/opends/src/messages/messages/admin_tool.properties
+++ b/opends/src/messages/messages/admin_tool.properties
@@ -199,6 +199,8 @@
 MILD_ERR_READING_CONFIG_FILE=Error reading the configuration file.
 MILD_ERR_READING_CONFIG_LDAP=Error reading data from server.  Verify the \
  authentication information provided.%nDetails: %s
+MILD_ERR_READING_SCHEMA_LDAP=Error reading schema from the remote server.\
+ %nDetails: %s
 SEVERE_ERR_STARTING_SERVER_GENERIC=Could not Start server.
 INFO_FINISH_BUTTON_UNINSTALL_LABEL=Uninstall
 INFO_FINISH_BUTTON_UNINSTALL_TOOLTIP=Finish Uninstall
@@ -279,6 +281,7 @@
 INFO_SERVER_STOPPED_LABEL=Stopped
 INFO_SERVER_STOPPING_LABEL=Stopping
 INFO_SERVER_UNKNOWN_STATUS_LABEL=Unknown
+INFO_SERVER_NOT_CONNECTED_TO_REMOTE_STATUS_LABEL=Not Connected to Remote
 INFO_START_BUTTON_LABEL=Start
 INFO_START_BUTTON_TOOLTIP=Starts the Directory Server
 INFO_STATE_COLUMN=State
@@ -1814,6 +1817,27 @@
 INFO_CTRL_OBJECTCLASS_DESCRIPTOR=Objectclass: %s
 INFO_CTRL_AUXILIARY_OBJECTCLASS_DESCRIPTOR=Auxiliary objectclasses: %s
 
+INFO_CTRL_PANEL_LOCAL_OR_REMOTE_LABEL=Choose the server to be administered:
+INFO_CTRL_PANEL_REMOTE_SERVER=Remote Server:
+INFO_CTRL_PANEL_LOCAL_SERVER=Local Server
+INFO_CTRL_PANEL_ADMINISTRATION_PORT=Administration Port:
+INFO_CTRL_PANEL_LOCAL_SERVER_NOT_RUNNING=Not Running
+INFO_EMPTY_REMOTE_HOST_NAME=You must provide the name of the remote host name.
+INFO_INVALID_REMOTE_SERVER_PORT=The value of the remote server administrative \
+ port must be an integer value between %d and %d.
+INFO_CTRL_PANEL_LOCAL_OR_REMOTE_PANEL_TITLE=Server to Administer
+#
+# Note that the following two properties contain line breaks in HTML format
+# (<br>)
+#
+INFO_CTRL_PANEL_ERROR_CONNECTING_TO_LOCAL=The following errors occurred \
+ connecting to the local server:<br>%s<br>If you continue without providing \
+ authentication no monitoring information will be displayed.<br><br>Do you \
+ want to continue?
+MILD_ERR_CANNOT_CONNECT_TO_REMOTE=Could not connect to server '%s' on port \
+ '%s'.  Verify that the provided information is valid and that the server is \
+ running.  Details: %s
+
 INFO_CTRL_PANEL_LOGIN_PANEL_TITLE=Authentication Required
 INFO_CTRL_PANEL_BIND_DN_LABEL=Bind DN:
 INFO_CTRL_PANEL_BIND_PASSWORD_LABEL=Password:
@@ -1824,8 +1848,12 @@
 #
 INFO_CTRL_PANEL_RUNNING_TASKS_CONFIRMATION_DETAILS=The following tasks are \
  running:<br>%s<br><br>If you exit the tasks will continue but you will have \
- to check the error logs to see if they complete successfully.<br><br>Do you \
+ to check the log files to see if they complete successfully.<br><br>Do you \
  want to continue?
+INFO_CTRL_PANEL_RUNNING_TASKS_CHANGE_SERVER_CONFIRMATION_DETAILS=The following \
+ tasks are running:<br>%s<br><br>If you connect to another server the tasks \
+ will continue but you will have to check the log files to see if they \
+ complete successfully.<br><br>Do you want to continue?
 
 INFO_CTRL_PANEL_MATCHING_RULE_PANEL_TITLE=Matching Rule
 INFO_CTRL_PANEL_MATCHING_RULE_DETAILS=Matching Rule Details
@@ -1895,6 +1923,7 @@
 INFO_CTRL_PANEL_ATTRIBUTE_DESCRIPTION_LABEL=Description:
 INFO_CTRL_PANEL_ATTRIBUTE_USAGE_LABEL=Usage:
 INFO_CTRL_PANEL_ATTRIBUTE_SYNTAX_LABEL=Syntax:
+INFO_CTRL_PANEL_ATTRIBUTE_TYPE_LABEL=Type:
 INFO_CTRL_PANEL_ATTRIBUTE_APPROXIMATE_MATCHING_RULE_LABEL=Approximate \
  Matching Rule:
 INFO_CTRL_PANEL_ATTRIBUTE_EQUALITY_MATCHING_RULE_LABEL=Equality \
@@ -2476,6 +2505,49 @@
 INFO_CTRL_PANEL_AVERAGE_HEADER=%s Avg per second
 INFO_CTRL_PANEL_AUTHENTICATED_AS=Authenticated as '%s'
 INFO_CTRL_PANEL_NOT_AUTHENTICATED=User Not Authenticated
-INFO_CTRL_PANEL_NOT_AUTHENTICATED_SERVER_NOT_RUNNING=User Not Authenticated \
- (Server not Running)
-
+INFO_CTRL_PANEL_NOT_AUTHENTICATED_SERVER_NOT_RUNNING=User not authenticated \
+ (server not running)
+INFO_CTRL_PANEL_NOT_AUTHENTICATED_SERVER_REMOTE=User not authenticated \
+ (could not connect to server '%s')
+INFO_CTRL_PANEL_LOCAL_OR_REMOTE=Select the server that you want to administer:
+INFO_CTRL_PANEL_SERVER_REMOTE_SUMMARY=Server is Remote
+INFO_CTRL_PANEL_SERVER_MUST_BE_LOCAL_JAVA_PROPERTIES_SUMMARY=The Java Settings \
+ can only be updated when the managed server is the local server.
+INFO_CTRL_PANEL_SERVER_MUST_BE_LOCAL_VERIFY_INDEX_SUMMARY=The indexes can only \
+ be verified when the managed server is the local server.
+INFO_CTRL_PANEL_SERVER_MUST_BE_LOCAL_REBUILD_INDEX_SUMMARY=The indexes can \
+ only be rebuilt when the managed server is the local server.
+INFO_CTRL_PANEL_REMOTE_SERVER_PATH=The path must be accessible by the remote \
+ server.
+INFO_CTRL_PANEL_SERVER_MUST_BE_LOCAL_WINDOWS_SERVICE_SUMMARY=The Windows \
+ Service configuration can only be viewed and updated when the managed server \
+ is the local server.
+SEVERE_ERR_CTRL_PANEL_ERROR_CREATING_NEW_DATA_LDIF=Could not created local \
+ LDIF to populate new base DN with automatically generated data.  Error code: \
+ %d.
+INFO_CTRL_PANEL_PARENT_BACKUP_ID_LABEL=Parent Backup ID:
+INFO_CTRL_PANEL_PARENT_BACKUP_PATH_LABEL=Parent Backup Path:
+MILD_ERR_CTRL_PANEL_NO_PARENT_BACKUP_ID_PROVIDED=No parent backup ID provided.
+INFO_CTRL_PANEL_CANNOT_CONNECT_TO_REMOTE_SUMMARY=Could not connect to remote \
+ server
+INFO_CTRL_PANEL_CANNOT_CONNECT_TO_REMOTE_DETAILS=The remote server '%s' might \
+ be down or the provided authentication is no longer valid.  To be able to \
+ manage a server remotely it must be running and you must provide \
+ authentication.
+INFO_CTRL_PANEL_CONNECT_TO_SERVER_MENU=Server to Administer...
+INFO_CTRL_PANEL_INDEX_REBUILD_REQUIRED_REMOTE_DETAILS=The index configuration \
+ for '%s' was successfully modified.  For the configuration to be taken into \
+ account the database index files must be regenerated.  This can be done by \
+ using the 'rebuild-index' command-line on the remote server or re-importing \
+ the contents of the backend '%s'.
+INFO_PROGRESS_IMPORT_AUTOMATICALLY_GENERATED_REMOTE=Importing \
+ Automatically-Generated Data (%s Entries)
+SEVERE_ERR_NOT_SAME_PRODUCT_IN_REMOTE_SERVER_NOT_FOUND=The remote server in \
+ '%s' is cannot be managed by this control panel.  The remote server product \
+ name is '%s' and the control panel product name is '%s'.
+SEVERE_ERR_INCOMPATIBLE_VERSION_IN_REMOTE_SERVER=The remote server in '%s' has \
+ not the same version as the control panel.  The remote server version is \
+ '%s.%s.%s' and the control panel version is '%d.%d.%d'.
+SEVERE_ERR_VERSION_IN_REMOTE_SERVER_NOT_FOUND=Could not find version \
+ information in the remote server.  The remote LDAP server does not seem to be \
+ manageable remotely by the control panel.

--
Gitblit v1.10.0