ldap_explode_dn is broken

Jens Vagelpohl jens at dataflake.org
Fri Jul 16 08:01:56 CEST 2004

On Jul 16, 2004, at 12:53 AM, yoel at emet.co.il wrote:

> Hello,
> Please note that ldap_explode_dn is broken in recent minor versions of 
> OpenLdap (it worked properly with 2.2.6 bot not with 2.2.13/14). For 
> DN parts with multipe EQUALS ('=') the C library returns NULL 
> regardless of the content of the DN. Python-ldap raises an exception.
> Exaples of such DNs: cn=uid=yoel_o=org,o=org

IMHO a DN where one element has an extra "=" in it, for whatever 
reason, is just plain broken. Don't do it.


More information about the python-ldap mailing list