Dani Crisan writes:
Here is the output of the "select * from users":id | name | uid | gid | home | maildir | enabled | change_password | clear | crypt | quota | procmailrc |spamassassinrc[EMAIL PROTECTED] | dani crisan | 5000 | 5000 | /var/spool/mail/virtual | dani/ | 1 | 1 | ChangeMe | XdbSsa7ofFDNA[EMAIL PROTECTED] | John Doe | 5000 | 5000 | /var/spool/mail/virtual | john/ | 1 | 1 | VP4yejlipQDrQ | sdtrusfX0Jj66I can see a difference in the "clear" field ....one is ChangeMe and one VP4yejlipQDrQAny ideas?
Well, there's your obvious problem, right there. If your cleartext password is "VP4yejlipQDrQ", and that's what you were trying to use when logging in, its encrypted form is not "sdtrusfX0Jj66", according to crypt(3), but rather "sdpzII5XJG9P" (using the same salt). That's why your login fails.
Although it's fine to store both cleartext and encrypted passwords (sometimes there are reasons to do so), in most situations you only need to store one or the other.
pgpGzczgJ6axg.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-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
