[python-ldap] ldap.REFERRAL exception only returns first referral
Ondřej Kuzník
ondra at mistotebe.net
Tue Jan 4 07:03:57 EST 2022
On Thu, Dec 16, 2021 at 08:51:04PM -0500, Nick Folino wrote:
> 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.
Hi Nick,
thanks for the report, you're right, the referral isn't being passed
properly. We should really pass all the references as a list in a new
field there, not just a string message in 'info'.
If you (or anyone else) want to prepare that change, submit a PR and
I'll happily review it. Otherwise it might have to wait until I've
decided how to fix some other issues I have with the way we do
exceptions right now.
Regards,
Ondrej
More information about the python-ldap
mailing list