Why LDAPObject.._ldap_object_lock around library calls?

Ken Key key-ldap-dev at KSquared.NET
Wed May 5 22:32:37 CEST 2004


> Don't do this! The OpenLDAP libs are not re-entrant within one connection
> context. See OpenLDAP mailings list archives for details.
>

Ahh.  This is the crux of my problem!  I was working on the mistaken
assumption that the ldap_r library verion was fully (operational)
thread-safe. As you can tell, I'm a newbie to LDAP as well as Python.

Thanks for saving me from myself!
K^2






More information about the python-ldap mailing list