Re: DN Comparison function

[email protected] (Quanah Gibson-Mount) Thu, 13 Jun 2013 08:35:51 -0700
Newsgroups perl.ldap
Message-ID <DB4CAAFE47F0D6FB932590A7@[192.168.1.20]>
--On Thursday, June 13, 2013 4:01 PM +0100 Christophe Wolfhugel 
<[email protected]> wrote:

> On 13/06/13 15:45, Brian Reichert wrote:
>> Why not do a string compare on the output of
>> Net::LDAP::Util::canonical_dn()?
>
> I am not sure this would work as the canonical_dn would not change case
> for the attribute values, so:
>
> SN=Aéroport and SN=AÉROPORT would be different in string comparison, but
> according to the schema still represent the same RDN.

lc()?

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration