You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Tero Paananen <tp...@iki.fi> on 1999/08/13 23:20:32 UTC
mod_auth-any/4858: group definitions larger than 8192 bytes get chopped
>Number: 4858
>Category: mod_auth-any
>Synopsis: group definitions larger than 8192 bytes get chopped
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Fri Aug 13 14:30:26 PDT 1999
>Last-Modified:
>Originator: tpp+apachebug@iki.fi
>Organization:
apache
>Release: 1.3.3
>Environment:
FreeBSD 2.2.7-STABLE #0: Tue Dec 22 15:27:52 EST 1998
Server: Apache/1.3.3
>Description:
It appears that a group definition (groupname, colon, group member usernames separated by spaces) has a limit of 8192 bytes. Normally good enough, but what if you DO have a lot of users and they DO belong into the same group.
I haven't tried this with servers later than 1.3.3, this is on a production server for a client hosted by a 3rd party, which I can not go on and upgrade by myself.
Sorry, if this one has already been fixed in later releases.
>How-To-Repeat:
In the AuthGroupFile file, for one group, list so many users that the total amount of data (including the groupname and the colon) exceeds 8192 bytes
>Fix:
A work around is to split the groups into 8192 byte subgroups, which is sort of okay. Makes writing automated maintanance tools a bitch though.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]