httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred McCann <f...@automaticrootbeer.com>
Subject [users@httpd] Configuring mod_authn_dbd + Apache 2.2 + Postgres 8
Date Mon, 27 Feb 2006 20:04:16 GMT
<html><body><span style="font-family: Arial,Helvetica,sans-serif;"><font
size="2">I'm trying to configure mod_authn_dbd on Apache 2.2 + Postgres 8 + FreeBSD 6 stable.
Here's what I've got:<br><br>#Database Management<br>DBDriver pgsql<br>DBDParams
"dbname=UserDirectory user=UserDirectory password=foo"<br>DBDMin&nbsp; 1<br>DBDKeep
2<br>DBDMax&nbsp; 10<br>DBDExptime 60<br><br>#Authentication Section<br>&lt;Directory
/usr/local/apache2/htdocs&gt;<br>&nbsp;&nbsp;&nbsp; AuthType Basic<br>&nbsp;&nbsp;&nbsp;
AuthName "Intranet"<br>&nbsp;&nbsp;&nbsp; AuthBasicProvider dbd<br>&nbsp;&nbsp;&nbsp;
Require valid-user<br>&nbsp;&nbsp;&nbsp; AuthDBDUserPWQuery "select password
from user_permissions where username = %s and realm = 'Intranet' and permission = 'Wiki Access'"<br>&lt;/Directory&gt;<br><br><br><br>As
far as I can tell, Apache is hitting the database just fine. There are no errors. The problem
I'm having is that the password field is sha1 encrypted. Is there some way to specify to Apache
what algorithm and salt value so it can encrypt passwords before comparing them? I'm willing
to change encryption mechanisms if necessary- I'd just rather not have plain text passwords.
Is there a way or is this the fevered dream of a madman?<br><br>- Fred<br></font></span></body></html>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message