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

Re: ldap_str2dn() and ldap_dn2str() reentrant?

Michael Ströder wrote:
> 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().

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.