email builder writes:

Hi everyone,

I finally got motivated to move away from crypt passwords since on my
system that limits the passwords to 8 characters.  What I settled on was
SHA, since it seems to be supported everywhere I need it.  Unfortunately,
I can't get it to work anywhere and I can't tell why.

I store my account data in MySQL.  I changed the contents of my encrypted 
password field (that was working 100% with crypt passwords) to look like this:

{SHA}9afab6adfc0ec3d458fa314ddfd9b764e963144f

This is MySQL-specific hex-encoded passwords.

For Courier to recognize SHA passwords, they have to be base64-encoded, not hex-encoded, like it's done by OpenLDAP, and other systems.



Attachment: pgpHTeOrC9G5O.pgp
Description: PGP signature

-------------------------------------------------------------------------
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-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to