On Sun, Jan 29, 2006 at 01:10:41PM -0600, Jerry Amundson wrote:
> On Sun January 29 2006 11:24, Mark Bucciarelli wrote:
> > Bummer.  PHP's md5() uses hex-encoding. I wanted to auth against a
> > Drupal user db.
> 
> Like http://us2.php.net/manual/en/function.md5.php says?
> 
> <?php 
>  
>  function md5_base64 ( $data ) 
>  { 
>     return preg_replace('/=+$/','',base64_encode(pack('H*',md5($data)))); 
>  } 
>  
> ?>

Do you have one I can use in a MySQL SQL statement?  ;)

Given the relative rate of security bulletins for Drupal vs. Courier, 
I would rather not maintain a Drupal fork.

For now, the answer is separate MySql tables.

m


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to