On Sun, 28 Jan 2001, Patrik Grip-Jansson wrote: > 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. >
I think you are correct there. I haven't tested or checked the code, but I seem to remember that the "optimal" configuration is just to leave out the AuthGroupFile line entirely if you don't use group files. Regarding the "file too large" issue, I would just replace that with a recommendation that mod_auth_dbm (or other db backed module) be used for large databases for speed reasons. Joshua.