From bbbf0365ea2bf1fccafb6a57c2a7c0243a59b325 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Wed, 18 Aug 2010 13:14:11 +0000
Subject: [PATCH] Add support for inherited collective attributes. This extension to collective attributes brings the feature on par with DSEE CoS.
---
opends/src/server/org/opends/server/core/SubentryManager.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/SubentryManager.java b/opends/src/server/org/opends/server/core/SubentryManager.java
index 385c9a0..adfa86d 100644
--- a/opends/src/server/org/opends/server/core/SubentryManager.java
+++ b/opends/src/server/org/opends/server/core/SubentryManager.java
@@ -214,7 +214,7 @@
lock.writeLock().lock();
try
{
- if (subEntry.isCollective())
+ if (subEntry.isCollective() || subEntry.isInheritedCollective())
{
subList = dn2CollectiveSubEntry.get(subDN);
}
@@ -225,7 +225,7 @@
if (subList == null)
{
subList = new ArrayList<SubEntry>();
- if (subEntry.isCollective())
+ if (subEntry.isCollective() || subEntry.isInheritedCollective())
{
dn2CollectiveSubEntry.put(subDN, subList);
}
--
Gitblit v1.10.0