From 96d851d150d24fafbcc8b2f695d4bdee6cbd7173 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Wed, 01 Aug 2007 21:26:43 +0000
Subject: [PATCH] Fix a problem in the way that the Netscape password expired control was being encoded. It was previously thought to have no value, but in actuality it should have always have a value whose string representation should be "0".
---
opends/src/server/org/opends/server/messages/ProtocolMessages.java | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/opends/src/server/org/opends/server/messages/ProtocolMessages.java b/opends/src/server/org/opends/server/messages/ProtocolMessages.java
index 632fdc2..ad556c2 100644
--- a/opends/src/server/org/opends/server/messages/ProtocolMessages.java
+++ b/opends/src/server/org/opends/server/messages/ProtocolMessages.java
@@ -3766,9 +3766,9 @@
/**
* The message ID for the message that will be used if a password expired
- * control has a value. This does not take any arguments.
+ * control has an invalid value. This does not take any arguments.
*/
- public static final int MSGID_PWEXPIRED_CONTROL_HAS_VALUE =
+ public static final int MSGID_PWEXPIRED_CONTROL_INVALID_VALUE =
CATEGORY_MASK_PROTOCOL | SEVERITY_MASK_SEVERE_ERROR | 342;
@@ -6477,11 +6477,10 @@
"for use in matching attribute values");
- registerMessage(MSGID_PWEXPIRED_CONTROL_HAS_VALUE,
+ registerMessage(MSGID_PWEXPIRED_CONTROL_INVALID_VALUE,
"Cannot decode the provided control as a password " +
"expired control because the provided control had a " +
- "value but the password expired control should not have " +
- "a value");
+ "value that could not be parsed as an integer");
registerMessage(MSGID_PWEXPIRING_NO_CONTROL_VALUE,
--
Gitblit v1.10.0