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/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPModifyTestCase.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPModifyTestCase.java b/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPModifyTestCase.java
index 6641dd9..0eb0858 100644
--- a/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPModifyTestCase.java
+++ b/opends/tests/unit-tests-testng/src/server/org/opends/server/tools/LDAPModifyTestCase.java
@@ -634,7 +634,7 @@
          "sn: User",
          "cn: Test User",
          "userPassword: password",
-         "pwdPolicySubentry: cn=Clear UserPassword Policy," +
+         "ds-pwp-password-policy-dn: cn=Clear UserPassword Policy," +
               "cn=Password Policies,cn=config");
 
     InternalClientConnection conn =
@@ -682,7 +682,7 @@
          "sn: User",
          "cn: Test User",
          "userPassword: password",
-         "pwdPolicySubentry: cn=Clear UserPassword Policy," +
+         "ds-pwp-password-policy-dn: cn=Clear UserPassword Policy," +
               "cn=Password Policies,cn=config");
 
     InternalClientConnection conn =

--
Gitblit v1.10.0