Name

auth_param

Synopsis

The auth_param directive controls almost every aspect of Squid’s external user authentication interface. Squid currently supports three authentication schemes: Basic, Digest, and NTLM. Basic authentication support is compiled by default. For the others, you must use the —enable-auth option with ./configure.

Since the auth_param directive is very complex, I’m presenting it here as a separate directive for each combination of parameters.

Syntax

See the following subsections

Default

See the following subsections

Example

See the following subsections

Related

authenticate_cache_garbage_interval, authenticate_ttl, authenticate_ip_ttl

auth_param basic program

The command for the HTTP Basic authentication helper. You need to specify the full pathname to the program, plus any command-line options.

Syntax

auth_param basic program command ...

Default

No default

Example

auth_param basic program /usr/local/squid/libexec/ncsa_auth /usr/local/squid/etc/
ncsa_passwd

Related

auth_param basic children, auth_param basic realm, auth_param basic credentialsttl

auth_param basic children

This is the number of Basic authentication helper processes Squid uses.

Syntax

auth_param basic children count

Default

auth_param basic children 5

Example

auth_param basic children 10

Related

auth_param basic program, auth_param basic realm, auth_param basic credentialsttl

auth_param basic realm

This is the Basic authentication realm Squid sends in 407 (Proxy Authentication Required) responses. User agents typically display ...

Get Squid: The Definitive Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.