[sork] PASSWD with MySQL, Postfix, VirtualDomains/Users

Jan Schneider jan at horde.org
Thu Dec 6 20:58:09 UTC 2007


Zitat von Gustavo Verduzco Vazquez <info at gustavoverduzco.org>:

> Quoting Jan Schneider <jan at horde.org>:
>
>> What error? Where?
>
> I am getting a red icon with a small hand that says: Failure in
> changing password on $http_host: Incorrect Password
>
> which kinda make sense as the password is stored in the database
> encrypted, but I am submitting it in plain text, so they don't match
> when the script verifies.
>
> Any ideas on how to accomplish a successful verification of an
> encrypted password in the database?

Ah right, that won't work, because Passwd compares the encrypted  
passwords, so it must be able to encrypt them independent from the  
database.

"crypt" should theoretically be the correct method.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the sork mailing list