[sork] Problem with passwd and mysql when the password is crypt

Eric Rostetter eric.rostetter at physics.utexas.edu
Tue May 18 21:34:07 PDT 2004


Quoting Kai Riasol Gonzalez <exim at riasol.de>:

>     'driver' => 'sql',
>     'params' => array(
>         'phptype'    => 'mysql',
>         'hostspec'   => 'localhost',

Add an entry about here that specifies the protocol, ala:
           'protocol'   => 'tcp',

>         'username'   => 'horde',
>         'password'   => '********',
>         'encryption' => 'crypt',
>         'database'   => 'maildb',
>         'table'      => 'users',
>         'user_col'   => 'id',
>         'pass_col'   => 'crypt'
>     )
> );
>

[...]

> Warning: Undefined index: protocol in 
> /usr/local/www/horde/passwd/lib/Driver/sql.php on line 53
> Failure in changing password : Incorrect Password

Define an sql connection protocol; 'tcp' for network connections or 'unix'
for unix socket connections.

--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!



More information about the sork mailing list