On Sun, 29 May 2005 15:12:11 -0400
Sam Varshavchik <[EMAIL PROTECTED]> wrote:
> David writes:
>
> > « HTML content follows »
> >
> > Hallo.
> >
> >
> >
> > I am using Courier Imap with MySQL and it works well. My Problem is that I
> > can’t use encrypted passwords. I tried to comment out
> > MYSQL_CLEAR_PWFIELD
> > and activate MYSQL_CRYPT_PWFIELD. I encrypted my passwords with the MySQL
> > function encrypt. But after this no login was possible. I have made the
> > same question but nobody does response me. Please help me I’m desperate
> > and I can’t find a solution.
>
> This is probably because MySQL's encrypt() function does not encrypt
> passwords the same way that Courier does. Courier uses the standard
> triple-DES encryption, the same one used by your passwd command. MySQL's
> encrypt() probably does something completely different.
Nope,
`ENCRYPT(STR[,SALT])'
Encrypt STR using the Unix `crypt()' system call. The SALT
argument should be a string with two characters. (As of MySQL
3.22.16, SALT may be longer than two characters.) If no SALT
argument is given, a random value is used.
Bye
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users