[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP libs thread-safe?

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.