httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: [users@httpd] mod_authn_dbd encrypted password?!
Date Tue, 27 Jun 2006 19:48:15 GMT

On 27 Jun 2006, at 14:28, Chris Liles wrote:

> Hello list!
> When setting up mod_authn_dbd to hit a postgresql data base the  
> documentation says that the AuthDBDUserPWQuery must return an  
> encrypted password.
> Would someone please tell me how I am suppose to crypt the password  
> when storing it in the database. I can get the module to work fine  
> with a null password, and I have tried md5('password'), but no love :(

There isn't a utility for it, but the encryption is exactly the same  
as reading it
from any other source.  So you can, for example, use htpassword (for  
authentication) or htdigest (for digest) to generate the passwords,  
and then
just read the values into your SQL.

Nick Kew

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message