On Tue, 2 Nov 2004, Gordon Messmer wrote:

Theurl Michael wrote:

this is the section for my authmysqlrc file:

MYSQL_USER_TABLE        users
MYSQL_CRYPT_PWFIELD     crypt
MYSQL_CLEAR_PWFIELD     clear

on the crypt i store my cram-md5 hash
and on the clear the plain pwd.

The documentation for authmysql states that the "crypt" column must contain a hash created with the operating system's crypt() function. The hash you're using now isn't suitable.

While there are certainly a number of ways to generate this hash including some tool that comes with courier, IIRC) I use this small C program, which is free for anyone under the GPL.


http://www.laffeycomputer.com/crypter.c

FWIW...

--
Joe Laffey                |        Visual Effects for Film and Video
LAFFEY Computer Imaging   |        ---------------------------------
St. Louis, MO             |        Show Reel at http://LAFFEY.tv/?s
USA                       |        ---------------------------------
--------------------------------------------------------------------------
Mail here will be rejected --> "Sigfried Trap" <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to