Hi,

On Wednesday, 13. May 2009, Dmitry Katsubo wrote:
> Dear Perl LDAP users!
>
> I wonder, if somebody has succeeded to use UTF-8 symbols in DN. Here and
> there it is mentioned, that this is supported.
I can confirm that using UTF8-for DNs (and other other UTF8-capable 
attributes) works well both with OpenLDPA and perl-ldap.

When writing to LDAP perl-ldap autoagically does the right thing, when 
querying the server you may need to use the raw option to the search()
method.


> But with my OpenLDAP 
> v2.4.11 the following command fails and I don't see any reason why. The
> only reason why

The reason for the failure is easy to see, once you decode the base64-encoded
DN in your example:
        Кацубо Владимир,cn=persons,cn=centurion

This is simply no legal DN (Hint: it lacks the attribute name in the RDN).

Regards
Peter

-- 
Peter Marschall
pe...@adpm.de

Reply via email to