Search squid archive

Re: request_header_add question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux