Re: ldap_str2dn() and ldap_dn2str() reentrant?

Michael Ströder <[email protected]> Sun, 16 May 2010 14:51:35 +0200
Newsgroups gmane.network.openldap.general
Message-ID <[email protected]>
Michael Str=F6der wrote:
> Routinely in the C module part of python-ldap all calls to libldap func=
tions
> are wrapped by a thread lock. But I wonder whether that's really necess=
ary for
> all of them, especially regarding ldap_str2dn() and ldap_dn2str().

Mainly for python-ldap this question boils down to whether ldap_bv2dn_x()=
 and
ldap_bv2rdn_x() are re-entrant. Glancing over these it seems they are
re-entrant. But it would be nice if one of the OpenLDAP developers could
confirm that.

Ciao, Michael.