From 9d690194a88200c47b3a1d7ed64efe5890c2943b Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Wed, 15 Nov 2006 16:25:47 +0000
Subject: [PATCH] Update the password policy implementation to use ds-pwp-password-policy-dn instead of pwdPolicySubentry for indicating which password policy should be applied for a given user.  The new attribute is not marked NO-USER-MODIFICATION so that it can be directly altered by administrators in addition to having a value populated by a virtual attribute.  The pwdPolicySubentry attribute is defined in the IETF draft as NO-USER-MODIFICATION and is only intended to be virtually defined, making it more difficult to configure a special policy for an individual user.

---
 opends/src/server/org/opends/server/messages/CoreMessages.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/messages/CoreMessages.java b/opends/src/server/org/opends/server/messages/CoreMessages.java
index abc7cd0..0a2a77a 100644
--- a/opends/src/server/org/opends/server/messages/CoreMessages.java
+++ b/opends/src/server/org/opends/server/messages/CoreMessages.java
@@ -7945,8 +7945,8 @@
 
     registerMessage(MSGID_PWPSTATE_CANNOT_DECODE_SUBENTRY_VALUE_AS_DN,
                     "An error occurred while attempting to decode the " +
-                    OP_ATTR_PWPOLICY_SUBENTRY + " value \"%s\" in user entry " +
-                    "\"%s\" as a DN:  %s.");
+                    OP_ATTR_PWPOLICY_POLICY_DN + " value \"%s\" in user " +
+                    "entry \"%s\" as a DN:  %s.");
     registerMessage(MSGID_PWPSTATE_NO_SUCH_POLICY,
                     "User entry %s is configured to use a password policy " +
                     "subentry of %s but no such password policy has been " +

--
Gitblit v1.10.0