directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <akaras...@apache.org>
Subject Re: Search result in LDAP API
Date Thu, 28 Apr 2011 20:34:24 GMT
On Thu, Apr 28, 2011 at 11:31 PM, Stefan Seelmann <seelmann@apache.org>wrote:

> > And so that leads to the need for checks to see what kind of object we
> have
> > the cursor currently positioned under:
> >     isEntry()
> >     isReferral()
> >     isIntermediate()
> > This is probably best. I agree with Kiran that keeping around referral
> > objects and returning them in the end is not good from a memory
> perspective.
> > But if I remember correctly according to the protocol, an LDAP server
> does
> > this automatically: meaning it's supposed to return the referrals at the
> end
> > after returning regular entries.
> > Someone please let me know if this is the case. Have not had the time to
>
> From http://tools.ietf.org/html/rfc4511#section-4.5.2 : "The
> SearchResultEntry and SearchResultReference messages may come in any
> order".
>

Thanks Stefan.
Alex

Mime
View raw message