[horde] RE : Database case sensitivity

Thibault LE MEUR Thibault.LeMeur at supelec.fr
Wed Jan 25 08:58:09 PST 2006


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?




More information about the horde mailing list