[sork] Password module problem. Bug?

Jan Schneider jan at horde.org
Tue Aug 10 02:52:22 PDT 2004


Zitat von Fernando Arconada Oróstegui <fernando.arconada at saicar.es>:

> Hi
> I've a MySQL database with crypt method of encryption but (correctly
> setted at Pasword module  confuguration - I think - ) always returns
> that the old passwd its incorrect.
>
> To debug my problem i had commented the line 134 at
> password/lib/Driver/sql.php
>  return $this->comparePasswords($currentPassword,$oldPassword);
>
> and  put return true;
>
> then in the field password (password its varchar(30) ) of my database
> appears
>
>  	{crypt}$1$.OnPWh1W$M/ATxyVPpR3

Correct, this is the 30 char version of what is inserted with the statement
below. You password column (varchar(30)) is simply too short.

> my MySQL debug file returns
>
> UPDATE accountuser SET password = '
> {crypt}$1$.OnPWh1W$M/ATxyVPpR39GcIwZYt1i.' WHERE username= 'usuario'

Jan.

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


More information about the sork mailing list