Subtle changes in error handling with OpenLDAP 2 (was: compiling against OpenLDAP 2.0.11)

Michael Ströder michael at stroeder.com
Thu Jul 12 02:06:14 CEST 2001


Michael Ströder wrote:
> 
> The ldap.LDAPError base class was raised with
> OpenLDAP 2.0.x lib instead of e.g. ldap.PARTIAL_RESULTS raised in
> case of OpenLDAP 1.2.x lib.

Discovered exception class ldap.REFERRAL introduced with LDAPv3 by
looking at ldap.h of OpenLDAP 2 and errors.c...

Ciao, Michael.




More information about the python-ldap mailing list