You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/04/07 15:22:44 UTC
DO NOT REPLY [Bug 39238] New: - mod_auth_dbm requires mod_auth or "no groups file?" error
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
Summary: mod_auth_dbm requires mod_auth or "no groups file?"
error
Product: Apache httpd-2
Version: 2.0.55
Platform: PC
URL: http://jscomputerworks.com/
OS/Version: Windows 2000
Status: NEW
Keywords: ErrorMessage
Severity: normal
Priority: P2
Component: mod_auth_dbm
AssignedTo: bugs@httpd.apache.org
ReportedBy: js@jscomputerworks.com
CC: js@jscomputerworks.com
Apache 2.0.55 on win2000 with mod_auth worked great. I disabled mod_auth and
tried mod_auth_dbm with no AuthDBMGroupFile directive since all I want to check
are username and password. Got the error message "configuration error: couldn't
check access. No groups file?". A google check of this revealed that many
different authentication schemes were encountering this error message and I
didn't see any answers. After much configuration experimentation, I re-enabled
mod_auth along with mod_auth_dbm, and then mod_auth_worked! I suspect this
dependency is not wanted. As a minimum, the mod_auth_dbm documentation should
note this dependency.
--
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
DO NOT REPLY [Bug 39238] - mod_auth_dbm requires mod_auth or "no groups file?" error
Posted by bu...@apache.org.
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
DO NOT REPLY [Bug 39238] - mod_auth_dbm requires mod_auth or "no groups file?" error
Posted by bu...@apache.org.
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 trawick@apache.org 2006-04-07 16:14 -------
I posted this to the development list a while back but didn't get any feedback.
Does it work for you (i.e., allow mod_auth_dbm to stand on its own two feet)?
http://people.apache.org/~trawick/auth_dbm.txt
--
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