Le 29/09/14 06:46, Maxim Solodovnik a écrit :
> Hello,
>
> I'm getting CursorLdapReferralException while iterating EntryCursor:
> [1] line 258
> Could you please explain the meaning of this exception? I was sure if
> cursor.next() return the "true" cursor.get() should be successful.

You have an entry which is a referral (ie, it has a referral ObjectClass
in it). In this case, you have to catch the exception and handle the hop
yourself.

Atm, the LDAP API does not follow referrals internally, thus the thrown
exception.

Reply via email to