Peter Mueller wrote:
locked out' from login problems. After verifying that I couldn't log back
in, I was looking through the archives and logs and noticed a sieve problem
and the domainadmin problem. I believe I have fixed both according to
instructions in the archives:
INSERT INTO domainadmin (domain_name,adminuser) VALUES ('*','admin')
The sieve problem was a permissions issue that has been fixed.
What do you have in $CRYPT variable in conf.php?
# - plain 0 No encription is used
# - crypt 1 (shadow compatible encription)
# - mysql 2 (MySQL PASSWORD function)
# - md5 3 (MD5 digest)
$CRYPT = "crypt";
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"
}
?>
rgds,
Lukasz
_______________________________________________
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