Rick, Thanks for the help! The username came in with %i field. I must have totally overlooked the clientident=%i entry in my setup for the URL since I was so focused on the clientname field. Anyway, the username comes in with the %i field.
Again, thanks for your help! Now what I have to do is figure out how to write an per-user/timed override feature for squid/squidGuard. Murrah Boswell Rick Matthews wrote: > > > -----Original Message----- > > From: WA Support > > > > When I login to squid and go to a site that is redirected with > > squidGuard, I don't have anything in the clientname=%n field of the > > redirect URL, i.e.: > > > > 302:http://bessproxy.wildapache.net/cgi-bin/squidGuard.cgi?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetgr > > oup=%t&url=%u > > Here's what works for me - Make a quick test using this in your > redirect url: > squidGuard.cgi?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u&lang=en > > Make sure that you include REQUIRED in your squid ACL. (If you do not > use REQUIRED, the presence of the name in the access.log does not > guarantee that it was sent to squidGuard,) > > Let me know if that takes care of it. I don't think I made any > changes in squidGuard.cgi other than the configurables up front, > but I'll go back and look if that doesn't resolve it. > > Rick > > > > > I do have values for clientaddr=%a and url=%u. I don't care about the > > other fields (%i, %s, and %t), but I would like to be able to access and > > use the %n field. > > > > In my access.log for squid, I see the username that I am logged in with, > > and I see entries like: > > > > 1062019340.549 897 209.145.208.13 TCP_MISS/000 387 GET > > http://www.playboy.com/ otrcomm NONE/- - > > 1062019340.598 44 209.145.208.13 TCP_MISS/403 2341 GET > > http://bessproxy.wildapache.net/cgi-bin/squidGuard.cgi? otrcomm > > DIRECT/209.145.208.8 text/html > > > > Any help will be greatly appreciated. > > > > > > Thanks, > > Murrah Boswell > > Systems Administartor > > Wild Apache Internet Services > >
