[RCU] Change password plugin

Thomas Domingo Dahlmann domingo at domingo.dk
Sat Jan 2 20:33:50 CET 2010


>
> >  // Escaping of macros is handled by this module.
> >  // Default: "SELECT update_passwd(%c, %u)"
> >  $rcmail_config['password_query'] = 'SELECT update_passwd(%c, %u)';
>    
 From the README:
---snip---
You can specify which database to connect by 'password_db_dsn' option and
  what SQL query to execute by 'password_query'. See main.inc.php file for
  more info.
---snip---

I was fooled by two things, the reference to main.inc.php which I simply
couldn't understand (what should I look for in main.inc.php?) and the
default setting "SELECT update_passwd(%c, %u)" which I didn't see as SQL -
I simply don't know what update_passwd() is.

Somehow I couldn't get my wits to see that 'password_query' was the actual
sql statement setting. Maybe if there was an example containing a MySQL
statement I would have seen it right away.


> >  
> >  What is not clear here?
>    
-- /Thomas http://wiki.lnxgeek.org Go Ubuntu!!!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.roundcube.net/pipermail/users/attachments/20100102/9b3b905c/attachment-0001.html>
-------------- next part --------------
_______________________________________________
List info: http://lists.roundcube.net/users/


More information about the users mailing list