[sork] Passwd + MySQL

techie at costacurta.org techie at costacurta.org
Sun Oct 18 10:38:24 UTC 2009


Hello,

my authentication to Horde IMP is working fine using Dovecot + MySQL,  
but I cannot succeed with password management via Horde Sork Passwd.
I suspect wrong Horde and/or Passwd configuration or queries errors.

In my Passwd backends.php I have :

(...)
   'driver' => 'sql',
          'params' => array(
              'phptype'    => 'mysql',
              'hostspec'   => 'localhost',
              'username'   => 'xxxxx',
              'password'   => 'xxxxx',
              'encryption' => 'md5-hex',
              'database'   => 'xxxxx',
              'table'      => 'xxxxx',
              'user_col'   => 'userid',
              'pass_col'   => 'password',
              'show_encryption' => true,
              'query_lookup' => 'SELECT password FROM users WHERE  
userid = %u;',
              'query_modify' => 'UPDATE users SET password = %e WHERE  
userid = %u;',

Questions :

- Horde Authentication should be setup (via 'sql + custom queries') to  
the MySQL used by Dovecot, correct ?
- same for Passwd as written herebefore, correct ?

Please could you post your files conf.php and backends.php file for  
Passwd and Horde ?

My versions are:

Horde-3.3.5
Imp-h3-4.3.5
Passwd-h3-3.1.1

Many thanks.

Bye,
Bruno



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the sork mailing list