From a09e50d8d41c0f50c486742f4cc2343083c635e3 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Fri, 25 Jun 2010 09:25:49 +0000
Subject: [PATCH] Fixes issues #4552 #4557, making sure plugins and internal services are properly handling subtree move or delete. The changes particularly resolve problems raised by the community with the referential integrity and the isMemberOf plug-ins. Unit-tests have been updated to cover those cases

---
 opends/src/server/org/opends/server/crypto/CryptoManagerSync.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/crypto/CryptoManagerSync.java b/opends/src/server/org/opends/server/crypto/CryptoManagerSync.java
index e183408..61e08e9 100644
--- a/opends/src/server/org/opends/server/crypto/CryptoManagerSync.java
+++ b/opends/src/server/org/opends/server/crypto/CryptoManagerSync.java
@@ -551,6 +551,9 @@
     RDN srcRDN = entry.getDN().getRDN();
 
     // Only process the entry if it has the expected form of RDN.
+    // FIXME: Technically it is possible to perform a subtree in
+    // this case however such subtree delete would essentially be
+    // removing configuration branches which should not happen.
     if (!srcRDN.isMultiValued() &&
          srcRDN.getAttributeType(0).equals(attrAlias))
     {
@@ -644,5 +647,8 @@
        Entry newEntry)
   {
     // No implementation required.
+    // FIXME: Technically it is possible to perform a subtree modDN
+    // in this case however such subtree modDN would essentially be
+    // moving configuration branches which should not happen.
   }
 }

--
Gitblit v1.10.0