From 1ec4225177e7054586a7ca1842809b8055c552d9 Mon Sep 17 00:00:00 2001
From: david_page <david_page@localhost>
Date: Thu, 03 May 2007 16:11:02 +0000
Subject: [PATCH] Issue [1247] Password policy check and password encoding performed for internal and synchronization operations.
---
opends/src/server/org/opends/server/core/AddOperation.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/AddOperation.java b/opends/src/server/org/opends/server/core/AddOperation.java
index 439413c..54a3661 100644
--- a/opends/src/server/org/opends/server/core/AddOperation.java
+++ b/opends/src/server/org/opends/server/core/AddOperation.java
@@ -1352,12 +1352,12 @@
break addProcessing;
}
-
- // Check to see if the entry contains one or more passwords and if they
+ // If it's not an internal or synchronization operation, then check
+ // to see if the entry contains one or more passwords and if they
// are valid in accordance with the password policies associated with
// the user. Also perform any encoding that might be required by
// password storage schemes.
- if ((! isInternalOperation()) || (! isSynchronizationOperation()))
+ if (! (isInternalOperation() || isSynchronizationOperation()))
{
// FIXME -- We need to check to see if the password policy subentry
// might be specified virtually rather than as a real
--
Gitblit v1.10.0