On Sun, 28 Jan 2001, Rich Bowen wrote:

> Patrik Grip-Jansson wrote:
> > In one of the examples Rich has a; AuthGroupFile /dev/null. Is this
> > really good practice?
> I don't remember where I got that from, but it does work. If you have
> users, but no groups, you don't have to create a group file.

Yes, it does work. However, if you set it to /dev/null, the module will
open that "file" and try to read the groups from it. If you don't supply
any filename, the the group filename will be a NULL pointer and all group
checks will be skipped. Which ought to be a bit faster.

> > In a couple of places Rich talks about how mod_auth sometimes doesn't
> > authenticate if the user list file is too big. Does anyone know why this
> This one really deserves a little more research. I had this problem a
> while back, and rather than actually solving the problem, I switched to
> mod_auth_mysql to get around the problem. I think it would be a good
> idea to try to track down why this happens, and possibly get it fixed if
> it is deemed a bug. I found the the actual size of the list at which
> things started crapping out was different for different machines, but I
> never really investigated much farther than that.

Since it differs from machine to machine it ought to be a time out of some
sort. I did a quit search through the mod_auth source and didn't find any
timers in that code (not that I was all that thorough...) But I guess
something else could cause a time out, perhaps the TimeOut directive is
involved somehow? Unfortunately the inner workings of Apache's modules
is not my forte...

-- 
.---------------------.
| Patrik Grip-Jansson |
| Ringen 4B           |
| 78444 Borlänge   .--'-----------------------------------.
| Sweden           |  All views and opinions are my own,  |
`------------------| PH:+46(0)24382823 PW:+46(0)707354360 |
                   `--------------------------------------'

Reply via email to