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 2007/08/10 14:04:04 UTC
DO NOT REPLY [Bug 43084] New: - Group in AuthGroupFile cannot contain more than approx. 8 KB (of characters)
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=43084>.
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=43084
Summary: Group in AuthGroupFile cannot contain more than approx.
8 KB (of characters)
Product: Apache httpd-2
Version: 2.2.4
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Other Modules
AssignedTo: bugs@httpd.apache.org
ReportedBy: Bjorn.Wiberg@its.uu.se
Group lines in (mod_authz_groupfile) AuthGroupfiles appear to have a maximum
fixed size of 8192 characters including the group name, colon, whitespace and
end-of-line character(s).
Usernames on such a long group line, appearing past the 8192-byte limit, will
not be let in:
---8<---
[Fri Aug 10 13:09:33 2007] [error] [client 130.238.131.137] Authorization of
user XYZ to access /Pass/index.html failed, reason: user doesn't appear in group
file (/apache/secret/abc/def/.htgroup)., referer: http://www.xyz.uu.se/
--->8---
...even though they are present on the line and hence should be considered a
member of the group.
Attaching example files to test this. The username "test" will not be considered
a member of the group "brokengroup", but will be considered a member of the
group "okgroup".
(Tested on both Linux and AIX.)
--
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 43084] - Group in AuthGroupFile cannot contain more than approx. 8 KB (of characters)
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=43084>.
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=43084
------- Additional Comments From Bjorn.Wiberg@its.uu.se 2007-08-10 05:08 -------
Created an attachment (id=20637)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20637&action=view)
Example .htaccess file
Adjust the path to the user and group files.
Try adding "okgroup" to the list of allowed groups (and not).
Notice the difference (let in vs not let in).
--
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 43084] - Group in AuthGroupFile cannot contain more than approx. 8 KB (of characters)
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=43084>.
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=43084
------- Additional Comments From Bjorn.Wiberg@its.uu.se 2007-08-10 05:07 -------
Created an attachment (id=20636)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20636&action=view)
Example AuthGroupFile
The user "test" will be considered a user of the group "okgroup", but not of
the group "brokengroup", due to line lengths.
--
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 43084] - Group in AuthGroupFile cannot contain more than approx. 8 KB (of characters)
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=43084>.
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=43084
Bjorn.Wiberg@its.uu.se changed:
What |Removed |Added
----------------------------------------------------------------------------
Platform|Other |PC
--
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 43084] - Group line in AuthGroupFile cannot contain more than 8192 characters (including EOL)
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=43084>.
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=43084
------- Additional Comments From Tom.Donovan@acm.org 2007-08-19 19:54 -------
True - the line length is limited by the value in include/httpd.h near line 310
/** The length of a Huge string */
#define HUGE_STRING_LEN 8192
This line-length limit applies to user files, group files, config files, log
lines, mod_ssl passphrases, and many other things in Apache. Changing it for
all of them seems disruptive. A site with a unique requirement could change the
value in httpd.h and re-build Apache.
Should this really be fixed?
Very large group lists may be better handled by DBM or DBD than extra long lines
in a flat file.
--
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 43084] - Group line in AuthGroupFile cannot contain more than 8192 characters (including EOL)
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=43084>.
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=43084
Bjorn.Wiberg@its.uu.se changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Group in AuthGroupFile |Group line in AuthGroupFile
|cannot contain more than |cannot contain more than
|approx. 8 KB (of characters)|8192 characters (including
| |EOL)
--
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