[python-ldap] python-ldap doesn't raise invalid_credentials exception, instead results in KeyError

Michael Ströder michael at stroeder.com
Wed Apr 26 13:15:23 EDT 2017


Sebastian Utzerath wrote:
> ---
> File "/var/www/weblate/env/local/lib/python2.7/site-packages/ldap/ldapobject.py" in
> _ldap_call
>   116.         e.args[0]['info'] = strerror(e.args[0]['errno'])
> 
> Exception Type: KeyError at /accounts/login/
> Exception Value: 'errno'
> ---

Sorry, this was a regression in 2.4.35 which got fixed in 2.4.36
(released few minutes ago).

Ciao, Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3829 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20170426/7dd896a9/attachment.bin>


More information about the python-ldap mailing list