Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Courier Authmysql
PostPosted: Fri Feb 01, 2008 9:34 am 
Offline
Senior Newbie

Joined: Wed Dec 12, 2007 11:34 am
Posts: 10
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group