Re: Fwd: [squid-users] Need help in integrating squid and samba

From: Avinash Rao <avinash.aol_at_gmail.com>
Date: Thu, 20 Aug 2009 11:22:43 +0530

On Wed, Aug 19, 2009 at 5:08 PM, Avinash Rao<avinash.aol_at_gmail.com> wrote:
> On Wed, Aug 19, 2009 at 12:41 PM, Amos Jeffries<squid3_at_treenet.co.nz> wrote:
>> Avinash Rao wrote:
>>>
>>> Understood and it worked.. You have been of great help.
>>> Here's what i want to achieve from this..
>>>
>>> I have about 40 samba users logging into the samba domain using winxp.
>>> The squid and samba runs on the same server.  This setup is for an NGO
>>> - Educational Institute
>>> and the students really misuse the internet. So, i want to give them
>>> access only when required and without authentication. Say for example,
>>> every wednesday from 10:00-12:00PM  and everyday 6:00-8:00PM. So, when
>>> users from WINXP login to the domain, the internet should work only
>>> the timings mentioned above but without authentication..
>>>
>>> I am trying out different options. .. i hope i figure this out.
>>>
>>> Thanks
>>> Avinash
>>
>>
>> The example in the FAQ is almost exactly what you are looking for...
>> http://wiki.squid-cache.org/SquidFaq/SquidAcl#head-ef469ed90b785ebb496c66523bb69030e0b7c906
>>
>> Just place the the http_access lines that are supposed to allow without
>> authentication above any lines which use an authentication ACL.
>>
>
>
>
>
> Thanks for the link, I was going through the same documentation and
> trying out different things..
> Will come back if required.
>
> Cheers mate
> Avinash
>

Hi Guys,

I tried few acl's but i guess its not exactly how i want to configure squid.
I have many samba users who login to the domain and i would like to
restrict them from using the internet at specific times. The squid
ACL's have option to match the username, is there anything that can
match a unix or a windows group? so, that i can put some users in a
particular group and use that in squid ACL??

The other option is to use "src IP", I am running DHCP on the same
server which servers the whole network, which includes the samba
clients, LTSP clients and other clients which don't use either LTSP or
Samba.. so i cannot use the src IP option.

I am sorry if this is bugging
Avinash
Received on Thu Aug 20 2009 - 05:52:50 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 21 2009 - 12:00:03 MDT