[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
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
the string?
ldap_explode_rdn(3)...
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
returned by
ldap_explode_dn(dn,0) and breaks it up into its "type=value"
component
parts (or just "value", if the notypes parameter is set).
Note the
value is not unescaped. The result can be freed by
calling
ldap_value_free(3).
So it seems that ldap_str2dn() is the way to go. Thanks.
-Jason
Attachment:
smime.p7s
Description: S/MIME cryptographic signature