[prev in list] [next in list] [prev in thread] [next in thread] 

List:       horde
Subject:    Re: [horde] RE :  Database case sensitivity
From:       "Daniel A. Ramaley" <daniel.ramaley () DRAKE ! EDU>
Date:       2006-01-25 20:19:11
Message-ID: 200601251419.11237.daniel.ramaley () drake ! edu
[Download RAW message or body]

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@lists.horde.org
>> [mailto:horde-bounces@lists.horde.org] De la part de Daniel A.
>> Ramaley Envoyé : mercredi 25 janvier 2006 17:28
>> À : horde@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
-- 
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe@lists.horde.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic