directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Doran <matt.do...@papercut.com>
Subject Re: Custom LDAP partition and root/baseless searches
Date Thu, 19 May 2011 12:03:55 GMT

>>>> 'Root' searches are supposed to work well. The way it works is that it
>>>> looks
>>>> into all the naming contexts present in the RootDSE entry. I guess that
>>>> you
>>>> have such a naming context present, otherwise you would not be able to do
>>>> any search in your specific partition.
>>>>
>>>> It may be a bug in 1.5.5. I suggest you quickly do a test with the latest
>>>> version (1.5.7) to see if the problem still exists (we fixed a large
>>>> number
>>>> of bugs between 1.5.5. and 1.5.7). If the proble still exists, then it's
>>>> most certainly a bug and deserves a JIRA.
>>>>
>>> this was fixed in 1.5.7, and if you migrate to 1.5.7 then it will work.
>> Many thanks for your quick responses!!
>>
>> When I originally developed this, 1.5.6 was the most recent version.  I
>> tried creating an LDAPPartition on this version but had a number of problems
>> (all the samples showed how to implement this for 1.5.5 and there were some
>> large API changes under the covers).  So I stuck with 1.5.5.
>>
>> The following article also seems to still talk about 1.5.5.  -
>> http://directory.apache.org/apacheds/1.5/61-how-to-write-a-simple-custom-partition-for-apacheds.html
>>
>> Are their samples of how to implement a custom partition in 1.5.7?    I'd
> AFAIR there aren't any design changes except some code refactoring to
> make new partition implementations easy
> check this http://svn.apache.org/repos/asf/directory/documentation/samples/trunk/embedded-sample/
>

Thanks again.   I'll take a look.

This example shows an embedded server, but not a custom LDAP 
partition.     Do you know of any sample code to get this working?  
(sorry for all the questions)

Matt


Mime
View raw message