HI!
Routinely in the C module part of python-ldap all calls to libldap functions are wrapped by a thread lock. But I wonder whether that's really necessary for all of them, especially regarding ldap_str2dn() and ldap_dn2str().
Ciao, Michael.
openldap-software@openldap.org