apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From koszi <ko...@mail.tvnet.hu>
Subject Re: apr_dbd_mysql.c
Date Sun, 07 May 2006 08:06:35 GMT

OK just for the record for people googling around for this stuff 
mod_authn_dbd  apr_dbd_mysql apache 2.2.0 MySQL 5.0.20 apr 1.2.7 apr-util
1.2.7
Mysql's encrypt does the. trick. It's either 
1. you use "select encrypt(passwordfield) from..."  in AuthDBDUserPWQuery
directive, if you store passwords in plain text (perhaps not a good idea) 
2 or use "select password from ...'" , in that case you need to store
passwords in encrypted format like 'insert into usertable
encrypt('secret')',..."
BR
Peter.
--
View this message in context: http://www.nabble.com/apr_dbd_mysql.c-t1451411.html#a4267381
Sent from the APR Dev (Apache Portable Runtime) forum at Nabble.com.


Mime
View raw message