[Date Prev][Date Next]
Re: ldap_explode_dn question
On Feb 28, 2005, at 6:23 PM, Kurt D. Zeilenga wrote:
or is there some other routine you are expected to use to unescape
or, preferred, ldap_str2dn(3).
Looking at the man page, ldap_explode_rdn() would still return the
string in the escaped form:
Similarly, the ldap_explode_rdn() routine takes an RDN as
ldap_explode_dn(dn,0) and breaks it up into its "type=value"
parts (or just "value", if the notypes parameter is set).
value is not unescaped. The result can be freed by
So it seems that ldap_str2dn() is the way to go. Thanks.
Description: S/MIME cryptographic signature