httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39238] - mod_auth_dbm requires mod_auth or "no groups file?" error
Date Fri, 07 Apr 2006 15:42:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39238>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39238





------- Additional Comments From bnicholes@apache.org  2006-04-07 16:42 -------
The dependancy actually exists in the httpd core rather than with the modules 
themselves.  The problem is that the ap_run_check_user_id and the 
ap_run_auth_checker hooks are tied very closely together in the request 
processing.  Without mod_auth loaded, there is no valid-user handler 
implemented.  And since you decided not to use the group authorization 
handler, nothing handled the ap_run_auth_checker hook so it threw an error.  
Unfortunately the error message, rather than telling you what really happened, 
gave you some error about "no groups file" which is targeted directly at 
mod_auth.  

This issue will still exist in Apache 2.2 but the auth architecture of 2.2 
makes it more clear that you need to have the correct authz module loaded to 
handle the authorization hook.  Apache 2.3 eliminates this problem by 
decoupling the various auth hooks and extending the definition of 
authorization.  mod_auth_dbm in Apache 2.3 will work as you expect it to.  But 
unfortunatly the 2.3 functionality can not be back ported into 2.0 or 2.2.  
However, Jeff's patch should get you what you want.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message