Linode Forum
https://forum.linode.com/

Courier Authmysql
https://forum.linode.com/viewtopic.php?f=11&t=3084
Page 1 of 1

Author:  zeroday [ Fri Feb 01, 2008 9:34 am ]
Post subject:  Courier Authmysql

Edit: I used Courierpassd (http://www.arda.homeunix.net/store/) to set up password changing.

-----------------------------------------------

Hi, I installed courier and it uses mysql to authenticate users and the password field is stored using the mysql encrypt() function. I installed squirrelmail and the change password plugin, but everytime the count query runs, it finds 0 rows.

I checked the mysql manual, and it turns out if no salt variable is passed to the encrypt function I uses a random value, which is why the plugin cant find the user.

But, Courier manages to log me in each time fine, I was wandering what methods Courier uses to match the salted and encrypted password.

I hope that makes sense.
Cheers.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/