[Web-cyradm] Squirrelmail, Web-cyradm, changesqlpass plugin,
user password
Victor San Kho Lin
mr.haalaaluu at gmail.com
Wed Nov 15 23:44:48 CET 2006
Hi Mikko,
Thanks for instructions. I did update as you mentioned. It seem working. But
if i first login to squirrelmail then turn on change_sqlpass plugin, i can
see change password option and can do update. Once i logout, and login
again, it's showing blank page and go nowhere...
Any clue about that??
Thanks.
Victor
On 11/13/06, Mikko Toivola <mikko.cwa at pikkasenkuti.com> wrote:
>
> Here's the corresponding config-lines from my config.php
>
> $lookup_password_query = 'SELECT count(*) FROM accountuser WHERE username
> = "%2" AND password = %4';
>
> $password_update_queries = array('UPDATE accountuser SET password = %4
> WHERE username = "%2"',)
>
> > What type of encryption should be match with web-cyradm "crypt" option.
>
> It's PHPCRYPT
>
> > And i m lack of knowledge on this part to integrate with web-cyradm....
>
> $csp_salt_static = '';
> $csp_salt_query = 'SELECT password as salt FROM accountuser WHERE username
> = "%2"';
>
> With these options I got mine working, hope you do too. I searched
> web-cyradmin sources for the encryption-portion and figured the encrypted
> password should be used as salt. I'm not familiar with encryption
> techniques, please correct me if you know better.
>
> Mikko
>
>
> _______________________________________________
> This mailing list is hosted and supported
> by bit-heads GmbH | http://www.bit-heads.ch
>
> _______________________________________________
> Web-cyradm mailing list
> Web-cyradm at web-cyradm.org
> http://www.web-cyradm.org/mailman/listinfo/web-cyradm
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://fix.bitheads.ch/pipermail/web-cyradm/attachments/20061115/9e0a9315/attachment.html
More information about the Web-cyradm
mailing list