From e80c80dfe47a9e27c3ca0ccae952014814f616c0 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 30 Oct 2006 23:25:12 +0000
Subject: [PATCH] Add a file that should have been included in the commit for issue #902 (LDAPCompare should require at least one DN).

---
 opends/src/server/org/opends/server/messages/ToolMessages.java |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/messages/ToolMessages.java b/opends/src/server/org/opends/server/messages/ToolMessages.java
index cb7b2e8..70eb891 100644
--- a/opends/src/server/org/opends/server/messages/ToolMessages.java
+++ b/opends/src/server/org/opends/server/messages/ToolMessages.java
@@ -6699,6 +6699,15 @@
 
 
   /**
+   * The message ID for the message that will be used if an attempt was made to
+   * use LDAPCompare without any entry DNs.  This does not take any arguments.
+   */
+  public static final int MSGID_LDAPCOMPARE_NO_DNS =
+       CATEGORY_MASK_TOOLS | SEVERITY_MASK_SEVERE_ERROR | 682;
+
+
+
+  /**
    * Associates a set of generic messages with the message IDs defined in this
    * class.
    */
@@ -8881,6 +8890,10 @@
                     "arguments:  %s.");
     registerMessage(MSGID_WAIT4DEL_CANNOT_OPEN_LOG_FILE,
                     "WARNING:  Unable to open log file %s for reading:  %s.");
+
+
+    registerMessage(MSGID_LDAPCOMPARE_NO_DNS,
+                    "No entry DNs provided for the compare operation.");
   }
 }
 

--
Gitblit v1.10.0