[squid-users] External_acl_type and cache_peer

From: Sander, Andreas <a.sander_at_aurenz.de>
Date: Thu, 6 Aug 2009 08:15:21 +0200

Hello,
 
I am using Squid 2.7Stable6. I have an external helper that shall
obfuscate the authenticating user for a cache_peer. Unfortuantely this
does not work in any condition:
 
Lets take an example where my helper returns:
OK user=hello password=world

Example 1:
 
auth_param ...
external_acl_type groupbuilder children=1 %SRC %DST
C:\temp\helper\Debug\helper.exe
acl special external groupbuilder
http_access allow special
cache_peer 192.168.1.101 parent 3128 7 no-query default login=PASS

In this example the user "hello" is used for authentication when passing
the request to "192.168.1.101". Unfortunately the user is not
authenticated.

Example 2:
auth_param ...
external_acl_type groupbuilder children=1 %LOGIN %SRC %DST
C:\temp\helper\Debug\helper.exe
acl special external groupbuilder
http_access allow special
cache_peer 192.168.1.101 parent 3128 7 no-query default login=PASS

In this example, always the authenticating user, which is authenticated
by "auth_param" is passed to "192.168.1.101". The result of the external
helper is ignored.

What can I do to modify a login name by an external helper?

Regards
Andreas
Received on Thu Aug 06 2009 - 06:16:46 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 07 2009 - 12:00:02 MDT