ANNC and query: ldapmodule-1.10a3-patched RPMs available

Michael Ströder michael at
Wed May 9 12:28:46 CEST 2001

Joe Little wrote:
> So I
> will either need to figure out how to fix python-ldap for modern ldap
> libraries (OpenLDAP, mozilla, etc), or redo it completely.

Unfortunately the LDAP C SDKs diverged to incorporate new features
like SASL, SSL, etc. Another thing to take care of: All people are
asking for building against the OpenLDAP 2 libs. Note that the only
thread-safe LDAP C SDK seems to be the Mozilla C SDK.

---------------------- snip ----------------------
Subject: Re: OpenLDAP libs thread-safe?
Date: Fri, 13 Apr 2001 09:00:45 -0700
From: "Kurt D. Zeilenga" <Kurt at>
To: michael at
CC: openldap-software <openldap-software at>

At 02:42 PM 4/13/01 +0200, Michael Ströder wrote:
>The OpenLDAP 1.2.11 libs does not seem to be thread-safe. How about
>OpenLDAP 2.0.x libs?

While 2.0 provides an experimental -lldap_r.  It is not generally
thread-safe, but thread-safe if used in a specific manner.  As
use of -lldap_r requires detailed knowledge of how the library
works, I do not recommend developers attempt to make use of it.

You might consider using the Mozilla LDAP C API which has more
general thread-safety features.

Of course, we welcome those wanting to work on the OpenLDAP C
API to improve its thread-safety features.

---------------------- snip ----------------------

Ciao, Michael.

More information about the python-ldap mailing list