[Web-cyradm] Encryption agents
Stuart Murray-Smith
eight32 at gmail.com
Mon Jul 16 23:26:25 CEST 2007
Greetings list
Package mix:
web-cyradm-svn-0.5.5
openSuSE 10.2
apache2-2.2.3
mysql-5.0.26
php5-5.2.0
Hmmm... strange but interesting... :-)
Could someone please let me know why:
mysql> SELECT ENCRYPT('password'), PASSWORD('password'), MD5('password');
renders:
ENCRYPT('password') == ajbWPXHBdEi.M
PASSWORD('password') == *2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19
MD5('password') == 5f4dcc3b5aa765d61d8327deb882cf99
while if I set a user's password to 'password' through the web-cyradm
interface I get:
mysql> select username, password from accountuser;
username == email at domain.com
password == papAq5PwY/QQM
cat ../web-cyradm-0.5.5/config/conf.php | grep -i CRYPT yields:
$CRYPT = "crypt";
and
cat /etc/pam.d/imap | grep -i crypt yields:
crypt=1
Also:
testsaslauthd -u email at domain.com -p password
returns:
0: OK "Success."
which seems to indicate that mysql lookups and auth'ing are successful.
Any insight would be highly appreciated :-)
Kind regards,
Stuart
--
Then you will know the truth, and the truth will set you free.
More information about the Web-cyradm
mailing list