[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SVN and Apache::AuthDBI

From: Sean Davis <sdavis2_at_mail.nih.gov>
Date: 2006-01-12 13:13:31 CET

I am using SVN on Apache with the following configuration:

Apache/2.0.54 (Unix) DAV/2 proxy_html/2.5 SVN/1.2.3 PHP/5.0.4 mod_perl/2.0.1
Perl/v5.8.6

When I try to authenticate, I get a 500 server error and then this in my
error_log. Has anyone seen an error like this before and what was done
about it?

4185 Apache::AuthDBI::authz fall through, return DECLINED
[Thu Jan 12 07:09:41 2006] [crit] [client 128.231.145.14] configuration
error: couldn't check access. No groups file?: /svn/

Thanks,
Sean

And from my httpd.conf:

<Location /svn>
 DAV svn
 AuthType Basic
 AuthName "SVN Repository"
 SVNPath /usr/local/apache2/webDAV/svnrepos
 PerlAuthenHandler Apache::AuthDBI::authen
 PerlAuthzHandler Apache::AuthDBI::authz

 PerlSetVar Auth_DBI_data_source dbi:Pg:dbname=apache;host=sherlock
 PerlSetVar Auth_DBI_username XXXXXXX
 PerlSetVar Auth_DBI_password XXXXXXX
 PerlSetVar Auth_DBI_encrypted off
 #DBI->connect($data_source, $username, $password)

 PerlSetVar Auth_DBI_pwd_table users
 PerlSetVar Auth_DBI_uid_field username
 PerlSetVar Auth_DBI_pwd_field pass
 # authentication: SELECT pwd_field FROM pwd_table WHERE uid_field=$user
 PerlSetVar Auth_DBI_grp_table user_group_map
 PerlSetVar Auth_DBI_grp_field groupname
 # authorization: SELECT grp_field FROM pwd_table WHERE uid_field=$user

 require group admin
</Location>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 12 13:28:49 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.