directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <>
Subject Re: CursorLdapReferralException while iterating EntryCursor
Date Mon, 29 Sep 2014 05:37:12 GMT
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
> 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

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

View raw message