On 17.10.2011 18:25, Luiz Fabiano T.I CTO (Tempo Filmes) wrote:
-I'm using roundcube 0.6 and PostfixAdmin, I've already set "pfa settings" on main.inc.php and "pfa connection setting" on db.inc.php, anyway it's doesn't work for me,
AFAIK in %root%/config/main.inc.php as well as in %root%/config/db.inc.php there is no configuration seeting you have to set regarding PFA to get the password plugin to work.
I tried to set manually on $ROUNDCUBE$/plugins/password/password.inc.php the details of connections and chance the query from SELECT to UPDATE, but I'm still no success on it. L Does Anyone know what is going wrong ?
What are you want? Changing password in PDA database out of roundcube?
I also use PFA and here is my %root%/plugins/password/config.inc.php snippet:
// SQL Driver options // ------------------ // PEAR database DSN for performing the query. By default // Roundcube DB settings are used. $rcmail_config['password_db_dsn'] = 'mysql://user:password@dbhost/dbname';
// The SQL query used to change the password. // The query can contain the following macros that will be expanded as follows: // %p is replaced with the plaintext new password // %c is replaced with the crypt version of the new password, MD5 if available // otherwise DES. // %D is replaced with the dovecotpw-crypted version of the new password // %o is replaced with the password before the change // %n is replaced with the hashed version of the new password // %q is replaced with the hashed password before the change // %h is replaced with the imap host (from the session info) // %u is replaced with the username (from the session info) // %l is replaced with the local part of the username // (in case the username is an email address) // %d is replaced with the domain part of the username // (in case the username is an email address) // Escaping of macros is handled by this module. // Default: "SELECT update_passwd(%c, %u)" // $rcmail_config['password_query'] = 'SELECT update_passwd(%c, %u)'; $rcmail_config['password_query'] = 'UPDATE mailbox SET password=%c WHERE username=%u';
List info: http://lists.roundcube.net/users/ BT/9b404e9e