Re: [squid-users] Can someone help me block samba users at a particular time.

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 2 Oct 2008 15:12:45 +1300 (NZDT)

> Hi all,
>
> I have configured the latest version of squid on Ubuntu Studio 8.0 -
> AMD 64bit. I have also configured samba.
> I am in need of blocking the samba users from accessing the internet
> anytime except 18:00 - 20:00 Hrs everyday. How do i do this?
> The samba is configured as a PDC with WinXP clients.
>

Standard samba config.
  http://wiki.squid-cache.org/SquidFaq/ProxyAuthentication

Then this at the appropriate place of your config:

acl sambaUsers proxy_auth REQUIRED
acl deadHours time 18:00-20:00
http_access deny deadHours sambaUsers

Amos
Received on Thu Oct 02 2008 - 02:12:53 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 02 2008 - 12:00:02 MDT