I'm afraid there's nothing exactly like what you're looking for. In any
case, for reliable DN parsing and generating, I suggest you base your code
on ldap_{str,bv}2[r]dn() and ldap_[r]dn2{str,bv}().
p.
Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team
SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office: +39.02.23998309
Mobile: +39.333.4963172
Email: pierangelo.masarati@sys-net.it
------------------------------------------