From df0a5c41f5f842f72916027b70cbae7359b34508 Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Thu, 31 May 2007 08:31:45 +0000
Subject: [PATCH] Commit related to issue https://opends.dev.java.net/issues/show_bug.cgi?id=1334
---
opends/src/server/org/opends/server/messages/AdminMessages.java | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/opends/src/server/org/opends/server/messages/AdminMessages.java b/opends/src/server/org/opends/server/messages/AdminMessages.java
index d02d70f..7f26c56 100644
--- a/opends/src/server/org/opends/server/messages/AdminMessages.java
+++ b/opends/src/server/org/opends/server/messages/AdminMessages.java
@@ -306,6 +306,29 @@
public static final int MSGID_DSSERVICE_SUBCMD_LIST_MEMBERSHIP_DESCRIPTION =
CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 31;
+ /**
+ * The message ID for the message that will be used if the
+ * client CLI cannot contact the ADS. This does one take argument.
+ */
+ public static final int MSGID_DSSERVICE_CANNOT_CONNECT_TO_ADS =
+ CATEGORY_MASK_ADMIN | SEVERITY_MASK_SEVERE_ERROR | 32;
+
+ /**
+ * The message ID for the message that will be used as the description for the
+ * create-ads subcommand part of dsservice tool.
+ * This does not take any arguments.
+ */
+ public static final int MSGID_DSSERVICE_SUBCMD_CREATE_ADS_DESCRIPTION =
+ CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 33;
+
+ /**
+ * The message ID for the message that will be used as the description for the
+ * delete-ads subcommand part of dsservice tool.
+ * This does not take any arguments.
+ */
+ public static final int MSGID_DSSERVICE_SUBCMD_DELETE_ADS_DESCRIPTION =
+ CATEGORY_MASK_ADMIN | SEVERITY_MASK_INFORMATIONAL | 34;
+
// Prevent instantiation.
private AdminMessages() {
// Do nothing.
@@ -427,6 +450,12 @@
"List members of the specified group" );
registerMessage(MSGID_DSSERVICE_SUBCMD_LIST_MEMBERSHIP_DESCRIPTION,
"List groups in which the specified server is a member" );
-
+ registerMessage(MSGID_DSSERVICE_CANNOT_CONNECT_TO_ADS,
+ "Could not connect to %s. Check that the "+
+ "server is running and that the provided credentials are valid");
+ registerMessage(MSGID_DSSERVICE_SUBCMD_CREATE_ADS_DESCRIPTION,
+ "Create a new ADS DN");
+ registerMessage(MSGID_DSSERVICE_SUBCMD_DELETE_ADS_DESCRIPTION,
+ "Delete an existing ADS DN");
}
}
--
Gitblit v1.10.0