]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug #1223: Make the use of the %m error page to return auth info
authorserassio <>
Sun, 24 Apr 2005 20:00:43 +0000 (20:00 +0000)
committerserassio <>
Sun, 24 Apr 2005 20:00:43 +0000 (20:00 +0000)
commit0a0c70cdc6ca87dff680d55d9e4d9f7be44c17ef
tree61d06a93f1060e18bc6c644f4df18a81a405b8e0
parent02d05ccbcbffba4828072e09dfd9fc9a63913048
Bug #1223: Make the use of the %m error page to return auth info
messages

This patch extends the helper protocols for Basic and Digest to provide
some basic information in error responses, and makes use of the error
response already included in the NTLM helper protocol, making these
messages available as %m in error pages. Can be used if desired to
indicate why a login failed. The exact messages returned is helper
dependent.

Forward port of 2.5 patch.
helpers/basic_auth/LDAP/squid_ldap_auth.c
helpers/basic_auth/NCSA/ncsa_auth.c
helpers/basic_auth/YP/yp_auth.c
helpers/basic_auth/getpwnam/getpwnam_auth.c
src/auth/basic/auth_basic.cc
src/auth/digest/auth_digest.cc
src/auth/ntlm/auth_ntlm.cc
src/cf.data.pre