Re: Password field format and value in MySQL
Eric Jon Rostetter <[email protected]> Mon, 26 Oct 2009 14:18:46 -0500
| Newsgroups | gmane.comp.horde.sork |
|---|---|
| Message-ID | <[email protected]> |
Quoting Bruno Costacurta <[email protected]>: > For Dovecot authentication, the fields password contain the > encryption, so values are ie: > > '{PLAIN}mypassword' > '{MD5}$1$D4CKVAeL...etc...' You mean there are mixed encryption methods in the database? > This work fine for Dovecot but it seems not for Sork. AFAIK, sork will not support mixed encryption. All passwords would have to be in the same format. > As Dovecot and Sork share the same table, how does Sork knows which > encryption / decrypion to be use ? It is configured in backends.php. If you have a single encryption, you can configure it there. If you have mixed encryptions, you would need to modify sork to auto-detect the password based on the prefix, and handle it accordingly. > Bye, > Bruno -- Eric Rostetter The Department of Physics The University of Texas at Austin This message is provided "AS IS" without warranty of any kind, either expressed or implied. Use this message at your own risk. -- Sork mailing list - Join the hunt: http://horde.org/bounties/#sork Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]