directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <seelm...@apache.org>
Subject Re: Search result in LDAP API
Date Thu, 28 Apr 2011 20:31:13 GMT
> 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".

Mime
View raw message