Apache Directory Project - [jira] Created: (DIRSERVER-806) No continuation references for

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > December 2006 > [jira] Created: (DIRSERVER-806) No continuation references for





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Created: (DIRSERVER-806) No continuation references for
Stefan Zoerner (JIRA)

2006-12-27, 1:11 pm

No continuation references for referrals returned for some search filters
-------------------------------------------------------------------------

Key: DIRSERVER-806
URL: http://issues.apache.org/jira/browse/DIRSERVER-806
Project: Directory ApacheDS
Issue Type: Bug
Components: core
Affects Versions: 1.0, 1.0.1
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
Priority: Minor


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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com