Pages

5.6.12

Squid 2.7 and SARG for Windows %5C issue

From 2.7 and above the squid access.log writes ntlm username in the following format:
domain5%Cusername
This is to address blanks in active directory usernames.
This format is not correctly handled by sarg, which writes it in the urls and paths. The resulting reports have broken links.
In order to avoid this problem just edit squid.conf in order to have access.log written in another format.
I succesfully tested this format:
logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %

No comments:

Post a Comment