Hi Lukasz,

> So if you can't login to web-cyradm you can compare value of 
> password in 
>    adminuser table with your password with this script:
> <?php
> $dbinput = "crypted_password_from_db";
> $userinput = "plaintext_password_which_you_write_on_login_page";
> if ($dbinput == crypt($userinput,$dbinput)) {
>   echo "password is ok"
> } else {
>   echo "passord is diffrent"
> }
> ?>

Thanks very much, this was the issue.  If you are in San Francisco look me up
and I will buy you a beer :).  The password was either reset by web-cyradm
(does it do this on lockout??) or by the user.  I have reset the password in
table adminuser and now all is well.

Is there a command line crypt tool to do this?  I had to modify your php
script to get it to spit out the crypted password I wanted to use.  I would
rather stick with bash than spit out the password on the web.

Regards,

P
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to