Yes.  It's part of the LDAP standard that attribute names must be
case-insensitive.  Most LDAP servers will only send all lower case.
Anyway, perl doesn't control it, the LDAP server does.  Your code is
expected to know the standard, and do only case-insensitive matching.

Craig Dunigan

On Mon, 23 Feb 2004, Dave Halsema wrote:

> A simple question, but I wanted to verify that perl LDAP is functioning
> as expected.  If I do something like the following:
>
>       $entry->add('mailLocalAddress' => '[EMAIL PROTECTED]');
>
> my attribute name is always converted to lowercase letters.  (When I
> dump $entry the attr name is 'maillocaladdress').  Obviously it makes
> no operational difference, but aesthetically it is changed.
>
> Is this the behavior I should be seeing?
>
> It's the same result using perl-ldap 0.31 under Solaris/perl-5.6.1
> and Linux/perl-5.8.0.  Thanks!
>
>     -Dave
>

Reply via email to