[horde] RE : Database case sensitivity

Daniel A. Ramaley daniel.ramaley at DRAKE.EDU
Wed Jan 25 12:19:11 PST 2006


I've got it working. Thanks for your help!

On Wednesday 25 January 2006 10:58, Thibault LE MEUR wrote:
>See horde/config/hooks.php
>
>// Here is an example _username_hook_frombackend function. It converts
> the user
>// name to all lower case. This might be necessary if an
> authentication backend
>// is case insensitive to take into account that Horde's preference
> system is
>// case sensitive.
>//
>// ex. $userID = 'MyName' returns: 'myname'
>
>// if (!function_exists('_username_hook_frombackend')) {
>//     function _username_hook_frombackend($userID)
>//     {
>//         return String::lower($userID);
>//     }
>// }
>
>Hope this helps,
>Thibault
>
>> -----Message d'origine-----
>> De : horde-bounces at lists.horde.org
>> [mailto:horde-bounces at lists.horde.org] De la part de Daniel A.
>> Ramaley Envoyé : mercredi 25 janvier 2006 17:28
>> À : horde at lists.horde.org
>> Objet : [horde] Database case sensitivity
>>
>>
>> I have Horde 3.0.9 with Imp 4.0.4 providing authentication.
>> Preferences
>> are stored in a PostgreSQL 7.4.8 database. Is there a way to make
>> the user's login case insensitive in the database? Or to force
>> all names to
>> all lowercase?

-- 
------------------------------------------------------------------------
Dan Ramaley                            Dial Center 118, Drake University
Network Programmer/Analyst             2407 Carpenter Ave
+1 515 271-4540                        Des Moines IA 50311 USA


More information about the horde mailing list