Using UTF-8 in DN

2009-05-13 Thread Dmitry Katsubo
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. But with my OpenLDAP v2.4.11 the following command fails and I don't see any reason why. The only reason why Maybe RFC2253 should be used to represent UTF-

Re: [Net::LDAP] Using UTF-8 in DN

2009-05-13 Thread Peter Karman
Dmitry Katsubo wrote on 05/13/2009 07:51 AM: > I also suffer from a limitation, that "email" attribute may only contain > ASCII chars. For example, I cannot set: > > mail: Rudolf Bünger > > If storing UTF8 in this attribute is not supported, maybe one can give > an advice, how to convert it to

Re: Using UTF-8 in DN

2009-05-13 Thread Graham Barr
On May 13, 2009, at 7:51 AM, 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. But with my OpenLDAP v2.4.11 the following command fails and I don't see any reason why. The only

Re: Using UTF-8 in DN

2009-05-13 Thread Peter Marschall
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 bo

Re: Fwd: Net::LDAP::FilterMatch issue

2009-05-13 Thread Peter Marschall
Hi Graham, Adam is right. There were issues in FilterMatch.pm Please find attached a patch (created with git format-patch) that fixes this issue (003-FilterMatch.pm-fix-regex-treatment-in-_-cis-exact-_.patch) together with 3 other patches (which I had lying around here, or fix issues I found wh

Re: Net::LDAP::FilterMatch issue

2009-05-13 Thread Graham Barr
On May 13, 2009, at 11:56 AM, Peter Marschall wrote: Hi Graham, Adam is right. There were issues in FilterMatch.pm Please find attached a patch (created with git format-patch) Thanks for the patches. I have applied them and they are now in the next branch http://github.com/gbarr/perl-ldap/c