Skip Menu |
 

This queue is for tickets about the Apache-DBI CPAN distribution.

Report information
The Basics
Id: 17422
Status: resolved
Priority: 0/
Queue: Apache-DBI

People
Owner: pgollucci [...] p6m7g8.com
Requestors: wols
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.9901
Fixed in: (no value)



Subject: Broken under Apache1 without use grp_table
Download (untitled) / with headers
text/plain 434b
Hello, without use grp_table this construct breaks (to Apache2): line 744: if (($user_result == MP2 ? Apache2::Const::OK() : Apache::Constants::OK()) || ($group_result == MP2 ? Apache2::Const::OK() : Apache::Constants::OK())) My System: # Apache::DBI-0.9901 # perl, v5.8.7 built for i686-linux # 2.6.14-gentoo-r2 #2 SMP PREEMPT Wed Nov 30 19:37:57 CET 2005 i686 Mobile Intel(R) Pentium(R) III CPU - M 800MHz GenuineIntel GNU/Linux
Subject: error.log
Download error.log
text/x-log 2.5k
7927 Apache::AuthDBI::authen get_basic_auth_pw: res = >0<, password sent = >my_password< 7927 Apache::AuthDBI::authen user sent = >my_user< 7927 Apache::AuthDBI::authen Config{ log_string } = 7927 Apache::AuthDBI::authen Config{ placeholder } = off 7927 Apache::AuthDBI::authen Config{ encryption_method } = md5hex/crypt 7927 Apache::AuthDBI::authen Config{ grp_field } = grp 7927 Apache::AuthDBI::authen Config{ password } = my_db_password 7927 Apache::AuthDBI::authen Config{ pwd_whereclause } = 7927 Apache::AuthDBI::authen Config{ pwd_field } = pwd 7927 Apache::AuthDBI::authen Config{ log_field } = 7927 Apache::AuthDBI::authen Config{ uidcasesensitive } = on 7927 Apache::AuthDBI::authen Config{ pwd_table } = my_db_user_table 7927 Apache::AuthDBI::authen Config{ data_source } = dbi:mysql:my_db:localhost 7927 Apache::AuthDBI::authen Config{ authoritative } = on 7927 Apache::AuthDBI::authen Config{ nopasswd } = off 7927 Apache::AuthDBI::authen Config{ username } = my_db_user 7927 Apache::AuthDBI::authen Config{ uid_field } = usr 7927 Apache::AuthDBI::authen Config{ encrypted } = on 7927 Apache::AuthDBI::authen Config{ grp_whereclause } = 7927 Apache::AuthDBI::authen Config{ encryption_salt } = password 7927 Apache::AuthDBI::authen Config{ pwdcasesensitive } = on 7927 Apache::AuthDBI::authen Config{ grp_table } = 7927 Apache::AuthDBI::authen passwd not found in cache 7928 Apache::AuthDBI::authen statement: SELECT pwd FROM mdcauser WHERE usr = 'my_user' 7928 Apache::AuthDBI::authen passwd = >Mzz.UMV0ly1j.< 7928 Apache::AuthDBI MD5_digest 7928 Apache::AuthDBI::authen 2 passwords to check 7928 Apache::AuthDBI::authen user my_user: Password after Preparation >5e8edd851d2fdfbd7415232c67367cc3< - trying for a match with >Mzz.UMV0ly1j.< 7928 Apache::AuthDBI::authen user my_user: Password after Preparation >Mzz.UMV0ly1j.< - trying for a match with >Mzz.UMV0ly1j.< 7928 Apache::AuthDBI::authen user my_user: Password from Web Server >my_password< - Password after Preparation >Mzz.UMV0ly1j.< - password match for >Mzz.UMV0ly1j.< 7928 Apache::AuthDBI::authen return OK ========== 7928 Apache::AuthDBI::authz request type = >initial main< 7928 Apache::AuthDBI::authz user sent = >my_user< 7928 Apache::AuthDBI::authz requirements: valid-user=>1< user=>< group=>< 7928 Apache::AuthDBI::authz user_result = OK: valid-user [Wed Feb 1 23:31:59 2006] [error] Undefined subroutine &Apache2::Const::OK called at /usr/lib/perl5/vendor_perl/5.8.7/Apache/AuthDBI.pm line 742.\n


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.