/*
- * $Id: cache_cf.cc,v 1.297 1998/08/17 22:04:55 wessels Exp $
+ * $Id: cache_cf.cc,v 1.298 1998/08/17 23:27:58 wessels Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
if (Config.Program.authenticate) {
if (Config.authenticateChildren < 1) {
Config.authenticateChildren = 0;
- safe_free(Config.Program.authenticate);
+ wordlistDestroy(&Config.Program.authenticate);
} else if (Config.authenticateChildren > DefaultAuthenticateChildrenMax) {
debug(3, 0) ("WARNING: authenticate_children was set to a bad value: %d\n",
Config.authenticateChildren);
if (Config.Program.redirect)
requirePathnameExists("redirect_program", Config.Program.redirect);
if (Config.Program.authenticate)
- requirePathnameExists("authenticate_program", Config.Program.authenticate);
+ requirePathnameExists("authenticate_program", Config.Program.authenticate->key);
requirePathnameExists("Icon Directory", Config.icons.directory);
requirePathnameExists("Error Directory", Config.errorDirectory);
for (R = Config.Refresh; R; R = R->next) {
#
-# $Id: cf.data.pre,v 1.97 1998/08/17 22:04:56 wessels Exp $
+# $Id: cf.data.pre,v 1.98 1998/08/17 23:27:59 wessels Exp $
#
#
# SQUID Internet Object Cache http://squid.nlanr.net/Squid/
DOC_END
NAME: authenticate_program
-TYPE: string
+TYPE: wordlist
LOC: Config.Program.authenticate
DEFAULT: none
DOC_START
- Specify the location of the executable for the authenticator.
- Such a program reads a line containing "username password"
- and replies "OK" or "ERR" in an endless loop.
- If you use an authenticator, make sure you have 1 acl of type
- proxy_auth.
- By default, the authenticator_program is not used.
+ Specify the command for the external authenticator. Such a
+ program reads a line containing "username password" and replies
+ "OK" or "ERR" in an endless loop. If you use an authenticator,
+ make sure you have 1 acl of type proxy_auth. By default, the
+ authenticator_program is not used.
-authenticate_program @DEFAULT_AUTH_PROGRAM@
-DOC_END
+ If you want to use the traditional proxy authentication,
+ jump over to the ../auth_modules/NCSA directory and
+ type:
+ % make
+ % make install
+ Then, set this line to something like
-NAME: authenticate_options
-TYPE: wordlist
-LOC: Config.Program.authenticate_options
-DEFAULT: none
-DOC_START
- Command line options for the authenticate program.
+ authenticate_program @DEFAULT_PREFIX@/bin/ncsa_auth @DEFAULT_PREFIX@/etc/passwd
-authenticate_options @DEFAULT_PASSWD_FILE@
+authenticate_program none
DOC_END
-
NAME: authenticate_children
TYPE: int
DEFAULT: 5