From e9ed6e05d3fb6f9d197bd717ef65109c3af3e0a6 Mon Sep 17 00:00:00 2001
From: abobrov <abobrov@localhost>
Date: Tue, 02 Oct 2007 20:22:53 +0000
Subject: [PATCH] - [Issue 2406]  supportedControl in DSE does not display all the supported controls:   advertise Account Usable and GetEffectiveRights via supportedControl of RootDSE.   also fix criticality field recognition/process for GetEffectiveRights request control.

---
 opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendSearchOperation.java |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendSearchOperation.java b/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendSearchOperation.java
index 6ee6d0a..e0cf935 100644
--- a/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendSearchOperation.java
+++ b/opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendSearchOperation.java
@@ -649,6 +649,11 @@
         {
           setVirtualAttributesOnly(true);
         }
+        else if (oid.equals(OID_GET_EFFECTIVE_RIGHTS) &&
+          DirectoryServer.isSupportedControl(OID_GET_EFFECTIVE_RIGHTS))
+        {
+          // Do nothing here and let AciHandler deal with it.
+        }
 
         // NYI -- Add support for additional controls.
 

--
Gitblit v1.10.0