From 571884cec31d00f0c1b9de186fb1bbac17d289d5 Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Wed, 01 Aug 2007 01:15:44 +0000
Subject: [PATCH] Add ACI support to control whether a  "smart referral" (named subordinate references -- RFC 3296) may be returned to a client. Smart referral entries contain the referral objectclass and have one or more "ref" attributes containing LDAP URLS. The ref attribute type has usage distributedOperation, so the operational shorthand '+' character can be used to match it:

---
 opendj-sdk/opends/src/server/org/opends/server/backends/jeb/DN2URI.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/DN2URI.java b/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/DN2URI.java
index d432af7..cb2a7ca 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/DN2URI.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/DN2URI.java
@@ -667,7 +667,7 @@
           } while (status == OperationStatus.SUCCESS);
 
           SearchResultReference reference = new SearchResultReference(URIList);
-          if (!searchOp.returnReference(reference))
+          if (!searchOp.returnReference(dn, reference))
           {
             return false;
           }

--
Gitblit v1.10.0