2008/7/20 K.R. (Randy) Lewis <[EMAIL PROTECTED]>:
> Juan Miscaro wrote:
>>
>> Hi, I'm using Courier on OpenBSD.  Can I use crypt-hashed passwords
>> with Courier?  I have an old machine (with many users) I want to
>> migrate over to Courier and a MySQL backend.  This server has
>> passwords hashed from crypt().
>>
>> Thank you,
>>
>> /juan
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> courier-users mailing list
>> [email protected]
>> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
>>
>>
>
> Yes, this works just fine (OpenBSD).
> I did this some years ago, exactly, with a MySQL authentication setup.

Good to hear!  So in authmysqlrc I use

MYSQL_CRYPT_PWFIELD    crypt

Now what of the passwords in MySQL?  For MD5 I believe a password
should look like:

{MD5}passwordhash

Where passwordhash is created like:

$ echo password | userdbpw -md5

For crypt I can generate passwordhash:

$ echo password | userdbpw

but what about the password in MySQL?

/juan

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to