On 4/09/2013 3:27 a.m., Alex Rousskov wrote:
On 09/03/2013 05:52 AM, Job wrote:
Hello,
i am using Squid 3.1.8 with NTLM authentication.
I have Windows username with whitespace, as example "Mark Brown".
The only way to make this user authenticated is putting the username "Mark Brown" into a file:
acl Mark proxy_auth "/tmp/mark.txt"
and inside /tmp/mark.txt i wrote: Mark Brown
Is there a way to specify the username with whitespaces directly in squid.conf?
Yes, but not with Squid 3.1.8. See configuration_includes_quoted_values
in squid.conf.documented of Squid v3.4 or trunk (r12993 or later).
Support for configuration values with spaces is a work-in-progress and
v3.4 does not have all the fixes you may need, but it is worth trying.
If you use v3.4.0.1, set configuration_includes_quoted_values to on only
for the directive(s) that need it because several squid.conf directives
in that version cannot handle the new syntax yet.
FYI: if you use the 3.4 version please use the daily auto-generated
update package instead of the .0.1. It has some major regex config
handling issues. 3.4.0.2 is long overdue and will be out as soon as I
can get the final fixes from the development team.
Amos