Subject: | Username lookups should be case insensitive |
Date: | Thu, 1 Jul 2010 15:35:27 -0500 |
To: | "bug-RT-Authen-ExternalAuth [...] rt.cpan.org" <bug-RT-Authen-ExternalAuth [...] rt.cpan.org> |
From: | "Hopkins, Justin" <hopkinsju [...] umsystem.edu> |
While using Authen-ExternalAuth I encountered a problem creating users or logging in when the capitalization of the username did not match the value stored in the external database.
I am using RT 3.8.8 and External Auth 0.08, mysql5 - both RT and the external database are running on this server with ci collation. Performing a query by hand returns the desired results.
This presents a problem because people seem to be fond of entering email addresses differently all over the place. One of the users in my database entered her email as Jane.Doe@gmail.com but has her email client configured to send as jane.doe@GMAIL.COM - This has resulted in myriad issues with RT. Users cannot be autocreated, created by hand, or created by adding them as a watcher.
It *is* possible to update a user with a non-matching value. While you couldn't create a user like the one above by adding 'jane.doe@gmail.com' it is possible to add whatever is in the database with the same capitalization and then modify the existing user to be all lower-case.
Regards,
Justin Hopkins
Coordinator, IT & Web Services
MOBIUS Consortium Office
c: 573-808-2309