[imp] Forcing username to lowercase with IMP 5.x

Michael M Slusarz slusarz at horde.org
Thu Oct 13 17:57:24 UTC 2011


Quoting Joe Besko <jbesko at msu.edu>:

> We're running a production version on Webmail Edition 1.2.x and have  
> gotten the usernames to be forced to lowercase using the  
> _imp_hook_vinfo hook.
>
> I've installed a test version of Webmail Edition 4.0.x for a  
> simulated upgrade of the production system.  I see there is a way to  
> force the username to lowercase for the authentication, but I am  
> uncertain how to get this to work.  I've tried uncommenting the  
> section of code (example #2) in the horde/config/hooks.php for  
> authusername, but wondered if there is some other configuration flag  
> I need to set to enable this functionality.

Do usernames need to be all lowercase for authentication purposes?  If  
so, you want the 'preauthenticate' hook.  See horde/config/hooks.php  
for more info.

authusername is used to convert between an authentication username and  
a Horde username.  That doesn't sound like what you want.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list