From e48c4e7aba6aa69ba2d5f27b2a55b1c38ecc117b Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 05 Feb 2007 22:23:00 +0000
Subject: [PATCH] Fix a problem with the password policy in which online changes to the password attribute which changed the attribute type from one using the user password syntax to the auth password syntax (or vice versa) was not handled properly.

---
 opendj-sdk/opends/src/server/org/opends/server/core/PasswordPolicy.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/core/PasswordPolicy.java b/opendj-sdk/opends/src/server/org/opends/server/core/PasswordPolicy.java
index b7ed7e4..5464268 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/core/PasswordPolicy.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/core/PasswordPolicy.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Portions Copyright 2006 Sun Microsystems, Inc.
+ *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
  */
 package org.opends.server.core;
 
@@ -2530,6 +2530,7 @@
     // If we've made it here, then everything is acceptable.  Apply the new
     // configuration.
     passwordAttribute                = p.passwordAttribute;
+    authPasswordSyntax               = p.authPasswordSyntax;
     lastLoginTimeAttribute           = p.lastLoginTimeAttribute;
     allowMultiplePasswordValues      = p.allowMultiplePasswordValues;
     allowPreEncodedPasswords         = p.allowPreEncodedPasswords;

--
Gitblit v1.10.0