Skip Menu |

This queue is for tickets about the RT-Authen-ExternalAuth CPAN distribution.

Report information
The Basics
Id: 111804
Status: new
Priority: 0/
Queue: RT-Authen-ExternalAuth

People
Owner: Nobody in particular
Requestors: bruno.marmol [...] ccsd.cnrs.fr
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: problem for auto-create account if aka NAME field in database contains uppercase.
Date: Fri, 5 Feb 2016 15:38:05 +0100 (CET)
To: bug-RT-Authen-ExternalAuth [...] rt.cpan.org
From: Bruno Marmol <bruno.marmol [...] ccsd.cnrs.fr>
Hi, My user login (aka: Name field for RT/Authen/ExternalAuth/DBI) can contain uppercase. Mysql act identicaly for 1) Select ... from .... where Name='toto'; 2) Select ... from .... where Name='ToTo'; So DBI, create an hashref in RT::Authen::ExternalAuth::DBI::CanonicalizeUserInfo with hashkey "ToTo" But, when getting REMOTE_USER value in RT::Interface::WebCanonicalizeInfo, RT does an lowercase of the value... so "toto" In RT::Authen::ExternalAuth::DBI::CanonicalizeUserInfo the line my $result = $results_hashref->{$value}; give wront result because the hash key is "ToTo", but $value is "toto" I patched by my $result = (values %$results_hashref)[0]; to get the only value I want and it works. -- Bruno Marmol. Email: Bruno.Marmol@Inria.fr Inria.