directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject Re: Morning thoughts about alias handling...
Date Thu, 16 Jun 2011 11:14:03 GMT
On 6/16/11 1:00 PM, Kiran Ayyagari wrote:
> On Thu, Jun 16, 2011 at 2:51 PM, Emmanuel Lecharny<>  wrote:
>> Hi,
>> so I slept on the problem, and here are a few thoughts I had this morning :
>> - first, the alias handling can't be done in the doSimpleSearch() as I
>> thought, because if we do so, alias dereferencing won't be handled when
>> using the coreSession. It must be handled by the EntryFilteringCursor.
>> Remains to see how to implement that there.
>> - second, we may have some issue when an alias points to a non existing
>> entry. What will the return in this case ? The alias exists,
>> so the will move forward, to something that does not exist
>> (this is a Pierre-Arnaud thought).
> hmm, if the aliased entry doesn't exist the cursor shouldn't move forward

Yes, but it's hard to know if the aliased entry exists *before* trying 
to fetch it...

Emmanuel L├ęcharny

View raw message