RE: [squid-users] Squid MSNT authentication problem

From: David Gameau <>
Date: Tue, 26 Feb 2002 19:43:47 +1030

> From: Ciocanel Andreea []
> Sent: Tuesday, 26 February 2002 7:15 PM
> Subject: [squid-users] Squid MSNT authentication problem
> I use squid version 2.4, with MSNT authentication. For reading the logs, I
> use Webalizer. The problem is :if somebody type the username with upper
> letters and after that with small letters, it's like there are two different
> users.
> It is possible to set the usernames as not case sensitive and in logs to
> be stored only one name no matter if is with capital letters or small
> letters?

We do something similar.

Our current solution is to modify src/acl.c:aclMatchUser, and change a strcmp
to a strcasecmp.
I believe in Squid 2.5, they have included the '-i' operator for case
insensitive matching of username ACLs.

There would still be the issue with analyzing the file, since the logfile
records the username as entered. (One solution would be to pre-parse the
logfile, and convert all the entries to one case.)


David Gameau
University of South Australia
Received on Tue Feb 26 2002 - 02:13:55 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:32 MST