ANN: python-ldap-2.0.0pre21

Michael Ströder michael at
Mon Mar 29 18:50:57 CEST 2004

Find a new pre-release of python-ldap:

python-ldap provides an object-oriented API to access LDAP directory
servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for
that purpose. Additionally it contains modules for other LDAP-related
stuff (e.g. processing LDIF, LDAPURLs and LDAPv3 schema).

Wrapped OpenLDAP's ldap_whoami_s(). Fixed incompability with OpenLDAP 2.2
libs. Code cleaning.

Released 2.0.0pre21 2004-03-29

Changes since 2.0.0pre20:
* runtime_library_dirs is set

* (Hopefully) fixed building with OpenLDAP 2.2 libs in errors.c
* Removed meaningless repr() function from LDAPObject.c
* Removed setting LDAP_OPT_PROTOCOL_VERSION in l_ldap_sasl_bind_s()
* Modified string handling via berval instead of *char
   in l_ldap_compare_ext() makes it possible to compare attribute
   values with null chars.
* Wrapped ldap_sasl_bind() for simple binds instead of ldap_bind()
   since 1. the latter is marked deprecated and 2. ldap_sasl_bind()
   allows password credentials with null chars.
* Removed unused sources linkedlist.c and linkedlist.h
* Function l_ldap_whoami_s() only added if built against
   OpenLDAP 2.1.x+ libs (should preserve compability with 2.0 libs)

* LDAPObject.bind() only allows simple binds since Kerberos V4
   binds of LDAPv2 are not supported anymore. An assert statement
   was added to make the coder aware of that.
* Renamed former LDAPObject.sasl_bind_s() to
   LDAPObject.sasl_interactive_bind_s() since it wraps OpenLDAP's

More information about the Python-list mailing list