Stripped LDAPObject.c

Michael Ströder michael at stroeder.com
Sat Dec 22 16:14:51 CET 2001


Jacek Konieczny wrote:
> 
> AFAIK OpenLDAP, even in libldap_r is not very therad-safe.

Kurt Zeilenga wrote that the application has to take care of some
data structures. In our case this could be the C wrapper module.
Don't you think it would be feasible for at least some LDAP
operation methods?

> And libldap_r is missing some functions.

Which ones?

> IMHO we should not touch this
> unless it will be officialy supported and known to work without
> problems.

Yes, maybe it's too early.

Hmm, maybe python-ldap sits on top of the wrong LDAP C lib? We
currently do not have Win32 support and it's not thread-safe.

In opposite iPlanet C SDK (see
http://www.mozilla.org/directory/csdk.html) is known to be
thread-safe and is available on various platforms. Unfortunately the
API of the LDAP C SDKs diverged some much that it's unpossible to
#ifdef the differences. It's a decision for either one of those.

Ciao, Michael.




More information about the python-ldap mailing list