Squid "dotted" usernames
-
Hello,
I have a very old (but still running ;D) squid/squidguard server and want to port it to a new pfsense server.
But i noticed a "bug" :
All the usernames have the following syntax :
first name frst letter + "." + last name
e.g. : "John Smith" : j.smith
But, when i fill squiguard acl with this syntax, it refuses my syntax…
Let me give an example :
User : j.smith
filled like that : ACL is accepted but doesn't work...
Indeed : when testing squidguard allowed/denied websites, squidguard didn't consider the ACL to which username is allocated...
SquidGuard seems to consider that j.smith is a domain or something like that and doesn't consider it like a username....
When i try to put j.smith between quotes ( 'j.smith' ), the webgui doesn't accept it...
The only solution i found was : convert each username to "dotless" syntax...
So i would like to know several things :
-
Is there any solution to my "dotted" usernames ?
-
Why webgui doesn't accept this syntax ? Does my "domainname-like" suggestion is right ?
-
I read some posts about "userlist" : in fact, i also have userlists in my previous squid condig but i didn't figure how to setup it in pfSense : i read many setup *.inc files but without success...
Thank you for all your help,
Sincerely,
-
-
Does Squid parse regex in the usernames? Try a leading forward slash which would tell the system not to do anything with the period, just leave it alone…
i.e. j/.smith
-
Isn't that a backslash?
-
I will try it tomorrow !
Thank you very much, i'll feedback tomorrow !
Sincerely,
-
Unfortunately, ACL don't accept "/" or "" characters :(
(I even tried to create squid users with this chartacters and then put "j.smith" on ACL… no way... because, in this conditions squid auth waits until the slash characters are filled in login box)
Thanks :(
-
I finally setup all usernames without special characters…
Thanks for your help.