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.

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct