Matthew Palmer wrote:
On Fri, Mar 11, 2005 at 11:32:11AM -0800, C.Y.M wrote:

The trouble lies within this patch. I am trying to narrow it down as much as possible. The first section of the code that changed looks like this:

-               if ((rv = check_mysql_auth_require(user, t, r))
-                       != HTTP_UNAUTHORIZED)
-               {
-                       return rv;


That looks perfectly reasonable.  I can't see any issues with the parameters
to this function, either.

Throw the attached single-line patch in and rebuild.  An extra debug line
should pop out -- that's important.


Thanks for the debug patch. I have applied it and reproduced the error, but I do not get any new debug info in the log. I am running apache2 in debug mode.


grep "mysql_check_group complete" /var/log/apache2/* <-- no results

[Mon Mar 14 00:12:22 2005] [info] Initial (No.1) HTTPS request received for child 1 (server my.website.net:443)
[Mon Mar 14 00:12:22 2005] [debug] mod_auth_mysql.c(1482): Handling an authentication request for section /var/www/
[Mon Mar 14 00:12:22 2005] [debug] mod_auth_mysql.c(1523): Starting basic user auth for [test_user] in /var/www/, child pid 29904
[Mon Mar 14 00:12:22 2005] [debug] mod_auth_mysql.c(1338): Constructing password collection query with passfield=[passwd], table=[user_info], userfield=[test_user], where_clause=[]
[Mon Mar 14 00:12:22 2005] [debug] mod_auth_mysql.c(1192): sec->dbh in /var/www/ is
[Mon Mar 14 00:12:22 2005] [debug] mod_auth_mysql.c(1199): Ordinary query
[Mon Mar 14 00:12:22 2005] [debug] mod_auth_mysql.c(1216): Running query: [SELECT passwd FROM user_info WHERE username='test_user']
[Mon Mar 14 00:12:22 2005] [debug] mod_auth_mysql.c(1298): Checking with SHA1Sum
[Mon Mar 14 00:12:22 2005] [debug] mod_auth_mysql.c(1300): Auth succeeded
[Mon Mar 14 00:12:22 2005] [debug] mod_auth_mysql.c(1442): Making group query with auth_table=[user_group], auth_user_field=[username], esc_user=[test_user], esc_group=[adm], auth_group_field=[groups], where_clause=[]
[Mon Mar 14 00:12:22 2005] [debug] mod_auth_mysql.c(1449): Group query created; [SELECT count(*) FROM user_group WHERE username='test_user' and FIND_IN_SET('adm',groups)]
[Mon Mar 14 00:12:22 2005] [debug] mod_auth_mysql.c(1192): sec->dbh in /var/www/ is
[Mon Mar 14 00:12:22 2005] [debug] mod_auth_mysql.c(1199): Ordinary query
[Mon Mar 14 00:12:22 2005] [debug] mod_auth_mysql.c(1216): Running query: [SELECT count(*) FROM user_group WHERE username='test_user' and FIND_IN_SET('adm',groups)]
[Mon Mar 14 00:12:22 2005] [crit] [client 10.1.1.66] configuration error: couldn't check access. No groups file?: /adm/, referer: https://my.website.net/
[Mon Mar 14 00:12:22 2005] [info] Connection to child 1 closed with unclean shutdown(server my.website.net:443, client 10.1.1.66)



-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to