From 2d0aba220afc66dcb50fcd2639df306a25f639ea Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Wed, 02 May 2007 02:02:04 +0000
Subject: [PATCH] Add ACI support for Get Effective Rights control. Issue #87.

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

diff --git a/opends/src/server/org/opends/server/tools/LDAPToolUtils.java b/opends/src/server/org/opends/server/tools/LDAPToolUtils.java
index ca40b69..3a54aa0 100644
--- a/opends/src/server/org/opends/server/tools/LDAPToolUtils.java
+++ b/opends/src/server/org/opends/server/tools/LDAPToolUtils.java
@@ -121,6 +121,11 @@
     {
       controlOID = OID_VIRTUAL_ATTRS_ONLY;
     }
+    else if(lowerOID.equals("effectiverights") ||
+              lowerOID.equals("geteffectiverights"))
+    {
+      controlOID = OID_GET_EFFECTIVE_RIGHTS;
+    }
 
     if (idx < 0)
     {

--
Gitblit v1.10.0