[python-ldap] ldap.REFERRAL exception only returns first referral

Nick Folino nick at folino.us
Thu Dec 16 20:51:04 EST 2021


I found the code that passes the first referral only (Modules/constants.c).
Was this done for a specific reason?
Are there any developers still on the project that are familiar with that
code?
I don't mind helping to maintain this project,
but it'll take me a while to get up to speed on the code.

Nick


On Tue, Dec 14, 2021 at 9:48 PM Nick Folino <nick at folino.us> wrote:

> I'm trying to catch and process referrals with python-ldap-3.4.0.
> I only see the first referral in the exception.  Wireshark shows the
> entire list being returned from the consumer.
>
> Is this by design?  Or is there a way to get the entire list from
> the exception?
>
> Nick
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/python-ldap/attachments/20211216/bf814b0f/attachment.html>


More information about the python-ldap mailing list