directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Zoerner (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-806) No continuation references for referrals returned for some search filters
Date Mon, 12 Feb 2007 19:05:05 GMT


Stefan Zoerner commented on DIRSERVER-806:

Emmanuel, thanks for your investigations! Do you mean that it is sufficient to change the
configuration  within server.xml?
Something like this?

<bean id="environment" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
    <property name="properties">
        <prop key="">simple</prop>
        <prop key="">uid=admin,ou=system</prop>
        <prop key="">******</prop>
        <prop key="java.naming.referral">throw</prop>

I'll try this out. Perhaps it is an option for my customer to simple configure the server
that way.

> No continuation references for referrals returned for some search filters
> -------------------------------------------------------------------------
>                 Key: DIRSERVER-806
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0.1, 1.0
>         Environment: * ApacheDS 1.0.1 (SNAPSHOT)
> * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> * Windows XP Professional SP2
>            Reporter: Stefan Zoerner
>         Assigned To: Emmanuel Lecharny
>            Priority: Minor
>             Fix For: 1.0.1, 1.5.0
>         Attachments:
> I have created a referral entry below the example partition like this:
> dn: cn=theReferral,dc=example,dc=com
> objectclass: top
> objectClass: referral
> objectClass: extensibleObject
> cn: theReferral
> ref: ldap://someHost:389/cn=somewhere
> Afterwards I have performed some searches in order to check whether ApacheDS returns
a search result continuation reference. I used JNDI and set Context.REFERRAL to "throw" in
order to check whether I get a ReferralException.
> Case 1:
> Base: dc=example,dc=com
> Filter: (objectClass=*)
> Scope: sub
> => ApacheDS delivers a continuation reference with the search result. I get an exception
at the client.
> Case 2:
> Base: dc=example,dc=com
> Filter: (cn=Nick Cave)
> Scope: sub
> => Other than expected, ApacheDS does not deliver a continuation reference with the
search result. No exception occurs.
> Note that the only change is the filter expression.
> I have created a JUnit testcase to demonstrate the situation. It has been successfully
tested with other Directory servers (OpenLDAP, IBM, Sun). I'll attach it soon.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message