Hi,
On Thu Jan 19 16:29:29 2017, michele.r.berg@gmail.com wrote:
Show quoted text> This may or may not be something you want to implement on a widespread
> basis, but I've implemented it locally to avoid getting unnecessary
> warnings, as $type is not necessary to make LDAP connections:
>
> sub get_value {
> my $self = shift;
> my $type = shift || '';
> $type = lc($type) if $type;
> ...
I do not see the reason why anyone may need that change.
Please elaborate the cases where you get warnings.
get_value() is meant to be called with the name of an attribute. According to RFC 4512 section 1.4, attribute names are non empty:
oid = descr / numericoid
descr = keystring
keystring = leadkeychar *keychar
leadkeychar = ALPHA
ALPHA = %x41-5A / %x61-7A ; "A"-"Z" / "a"-"z"