Re: [squid-users] request_header_add question

From: Kein Name <montiburns_at_gmail.com>
Date: Fri, 11 Apr 2014 10:17:13 +0200

Amos Jeffries schrieb:
> On 11/04/2014 7:26 p.m., Kein Name wrote:
>> Hello List,
>>
>> at the moment I need to use the request_header_add directive to supply
>> information to a cache_peer backend.
>> I intended to use:
>> request_header_add X-Authenticated-User "%ul"
>> but the "%ul" is expanded to a dash (-) and I wonder why and how I can
>> submit the authenticated to user to my backend.
>> Can someone give me a hint?
>>
>> Thanks!
>> Regards
>> Stefan König
>>
>
> Squid version?
> Authentication method being used by your proxy?
> Does the cache_peer option " login=*: " (exact syntax) work?
>
> Amos
>
>

Hello Amos,

thanks for your answer!

Version:
Squid Cache: Version 3.3.8

Auth Method: NTLM (according to the header)

Config:
cache_peer 10.1.2.3 parent 8000 0 no-query originserver login=PASS

The config seems to work, squid shows me the login dialog of the
cache_peer. For several reasons I have to feed the username back as a
header value....
I also tried login=PASSTHRU for testing, but without any difference.

regards
Stefan
Received on Fri Apr 11 2014 - 08:17:27 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 11 2014 - 12:00:04 MDT