ANN: python-ldap-2.0.0pre21

Michael Ströder Python Developer List <python-ldap-dev@lists.sourceforge.net>
Mon, 29 Mar 2004 18:50:57 +0200


Find a new pre-release of python-ldap:

   http://python-ldap.sourceforge.net/

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).

Changes:
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:

setup.py:
* runtime_library_dirs is set

Modules/:
* (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)

ldap.ldapobject:
* 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
   ldap_sasl_interactive_bind_s()