Displaying 2 results from an estimated 2 matches for "md5_password".
Did you mean:
db_password
2013 Jul 18
0
Password encryption type for dovecot & postfix saslauthd with mysql
...ot mailbox list 2). another list. The dovecot user list is email + password. The other list is username + password. To that end we have created a view table in mysql that merges the two.. tables + view look a little like this:
table: mail_users (for dovecot)
email,password
test at test1.com,CRAM-MD5_PASSWORD
test2 at test1.com,CRAM-MD5_PASSWORD
bla at bla.com,CRAM-MD5_PASSWORD
table: mail_senders_other
username,password
username1,CRAM-MD5_PASSWORD
something_else,CRAM-MD5_PASSWORD
view: mail_senders (for postfix)
username,password
test at test1.com,CRAM-MD5_PASSWORD
test2 at test1.com,CRAM-MD5_PASS...
2007 Nov 17
18
Syntax Problem
I admit I am stuck. I am converting a legacy php site to ROR. The old
site uses MD5, a security flaw waiting to happen. I upgraded to AAA
and am adding code in the session_controller.rb file to see if
crypted_password is blank. If it is, crypt and check the password
against the old md5 version and write it in the new crypted_password
field.
Here is my code add on before the logged_in?:
def