Bluehost.com Web Hosting $6.95

[courier-users] mysql md5 authentication

This is a discussion on [courier-users] mysql md5 authentication within the Courier-Imap forums, part of the Mail Servers and Related category; Hi, Im trying to authenticate a combination of courier-imap/postfix/maildrop against mysql. The passwords should be md5-encrypted. ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-02-2005
Raphael Fuchs
 
Posts: n/a
Default [courier-users] mysql md5 authentication

Hi,
Im trying to authenticate a combination of courier-imap/postfix/maildrop
against mysql. The passwords should be md5-encrypted.
I set up my authmysqlrc, and created a testing row in the corrensponding
mysql table.
Output of a "authtest r.fuchs-sursee@bluewin.ch":

Authentication succeeded.

Authenticated: r.fuchs-sursee@bluewin.ch (uid 1000, gid 1000)
Home Directory: /data/mail/rfuchssursee/
Maildir: Maildir/
Quota: (none)
Encrypted Password: df5ea29924d39c3be8785734f13169c6
Cleartext Password: (none)
Options: (none)

So far so good. Now authentication with the password 'blabla' (df5ea29924d39c3be8785734f13169c6
after MD5)
Here's the log:
----
Aug 2 14:52:01 blackout authdaemond: received userid lookup request: r.fuchs-sursee@bluewin.ch
Aug 2 14:52:01 blackout authdaemond: authmysql: trying this module
Aug 2 14:52:01 blackout authdaemond: SQL query: SELECT id, crypt, clear,
uid, gid, home, maildir, "", name, "" FROM users WHERE id = "r.fuchs-sursee@bluewin.ch"
Aug 2 14:52:01 blackout authdaemond: Authenticated: sysusername=<null>,
sysuserid=1000, sysgroupid=1000, homedir=/data/mail/rfuchssursee/, address=r.fuchs-sursee@bluewin.ch,
fullname=Raphael Fuchs, maildir=Maildir/, quota=<null>, options=<null>
Aug 2 14:52:01 blackout authdaemond: Authenticated: clearpasswd=<null>,
passwd=df5ea29924d39c3be8785734f13169c6
Aug 2 14:52:04 blackout authdaemond: received auth request, service=login,
authtype=login
Aug 2 14:52:04 blackout authdaemond: authmysql: trying this module
Aug 2 14:52:04 blackout authdaemond: SQL query: SELECT id, crypt, clear,
uid, gid, home, maildir, "", name, "" FROM users WHERE id = "r.fuchs-sursee@bluewin.ch"
Aug 2 14:52:04 blackout authdaemond: supplied password 'blabla' does not
match encrypted password 'df5ea29924d39c3be8785734f13169c6'

Why does the password not match?!

Thank you,
Raphael
-------------
Linux is like a wigwam: no Windows, no Gates and Apache inside.



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:41 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0