Using Apache::AuthDBI-0.9901. I get the following error in the error log (and a 500 Server error) if I include a grp_table, but it works fine without the grp_table.
Undefined subroutine &Apache::Constants::OK called at /Library/Perl/5.8.6/Apache/AuthDBI.pm line 742.\n This is line 742 from AuthDBI.pm: if (($user_result == MP2 ? Apache2::Const::OK() : Apache::Constants::OK()) || ($group_result == MP2 ? Apache2::Const::OK() : Apache::Constants::OK())) { print STDERR "$prefix return OK\n" if $Apache::AuthDBI::DEBUG > 1; return MP2 ? Apache2::Const::OK() : Apache::Constants::OK(); } Is this a known problem, a bug, or (most likely) my misconfiguration of something? Thanks, Sean >From httpd.conf: <Location /svn> DAV svn SVNPath /usr/local/apache2/webDAV/svnrepos AuthType Basic AuthName DBI PerlAuthenHandler Apache::AuthDBI::authen PerlAuthzHandler Apache::AuthDBI::authz PerlSetVar Auth_DBI_data_source dbi:Pg:dbname=apache;host=sherlock PerlSetVar Auth_DBI_username sdavis PerlSetVar Auth_DBI_password mic2222 #DBI->connect($data_source, $username, $password) PerlSetVar Auth_DBI_pwd_table users PerlSetVar Auth_DBI_uid_field username PerlSetVar Auth_DBI_pwd_field pass PerlSetVar Auth_DBI_encrypted off # 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 require valid-user require user user_1 require group group_1 </Location> 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 [error] [client 128.231.145.14] Undefined subroutine &Apache::Constants::OK called at /Library/Perl/5.8.6/Apache/AuthDBI.pm line 742.\n Sean