[horde] Horde login and german umlauts

Dominique LALOT dom.lalot at gmail.com
Fri Dec 5 08:28:28 UTC 2008


Götz Reinicke a écrit :
> Hi,
>
> I run Horde Groupware Webmail Edition 1.2 (horde 3.3) on a red hat
> enterprise linux 5.2 (php 5.1.6, httpd 2.2.3) and local useraccounts
> (passwd/shadow).
>
> Users with german umlauts in the password can't login at the webfrontend.
>   
That's a very bad idea to put foreign chars in the password. In fact, if 
you use that, you will be dependent on OS setup. If you are using an 
UTF8 system, you will send 2 bytes instead of one. As password matching 
is byte oriented, you can't match. Your passwords were probably coded 
using ISO8859-1. We have to use bytes <127
I suppose that if you try to login from an UTF8 system using the same 
accounts, you will have the problem. That's not a horde problem from my 
point of view.

Your password changing system should avoid this. I've done this for my 
french users a long time ago.

Dom
> So I think that this may be a problem with encoding ... but where?
> Browser, webserver, database, ...
>
> Any hints to how tos or a solution/bugfix/workaround?
>
>
> Thanks and best regards
>
> Götz
>   

-- 
Dominique LALOT
Ingenieur Systeme et Reseaux
Universite de la Mediterrane (Aix-Marseille 2)
http://annuaire.univmed.fr/showuser.php?uid=lalot



More information about the horde mailing list