Minimum version of OpenLDAP libs for python-ldap 2.4.x?

Michael Ströder michael at stroeder.com
Fri Mar 4 19:45:15 CET 2011


HI!

Again it's time to think about the minimum required version of OpenLDAP libs
to be used for building upcoming python-ldap 2.4.0. I'd vote for strictly
requiring a fairly recent version in the OpenLDAP 2.4.x release series. I know
that this rules out using packages provided in RHEL 5 or similar old
enterprise Linux distros.

I'm asking because support for the assertion control was fixed/extended in
HEAD but it relies on OpenLDAP 2.4.11+. Currently it's hidden behind a
#ifdef LIBLDAP_HAS_ASSERTION_CONTROL_FUNC
but I generally don't like to have features which are there or not there
depending on the build.

The above is only one example. I could think of more features to be added. And
I think the feature set of python-ldap 2.4.0 should be as independent from the
build options as possible.

Ciao, Michael.


More information about the python-ldap mailing list