Search squid archive

Re: Can someone help me block samba users at a particular time.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Amos,
>
> Thank you for the information. I will go through the doc, test it and get
> back if necessary.
> If i wrote my requirement right in my last email, the samba users can get
> access to internet only between 18:00 - 20:00 Hrs everyday.

Ah, sorry. you wrote it right. I read it wrong.

The http_access line should be:
  http_access deny !deadHours sambaUsers

and the name makes better sense being okayHours instead of deadHours.

Amos

>
> Thanks again
> Avinash
>
> On Thu, Oct 2, 2008 at 7:42 AM, Amos Jeffries <squid3@xxxxxxxxxxxxx>
> wrote:
>
>> > 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
>>
>>
>



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux