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

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 08 Oct 2008 23:48:46 +1300

Avinash Rao wrote:
> I went through the documentation. I need help in installing the
> auth_proxy module. I didn't install squid from Synaptic Manager, i did
> it manually! so, the helpers directory is missing on my system and i am
> not able to find the squid authenticators.
>
> Is there anyway i can get this?
>

You built squid yourself?

Add some configure options to build the helpers and squid auth components:

   --enable-auth
   --enable-{auth type}-auth-helpers={helper names}

and rebuild.

./configure --help shows the options and how to find out whats available.

Amos

>
>
>
>
> On Thu, Oct 2, 2008 at 10:24 AM, Avinash Rao <avinash.aol_at_gmail.com
> <mailto:avinash.aol_at_gmail.com>> wrote:
>
> thanks and i will check it today.
>
> On Thu, Oct 2, 2008 at 9:09 AM, Amos Jeffries <squid3_at_treenet.co.nz
> <mailto:squid3_at_treenet.co.nz>> wrote:
> >
> > > 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_at_treenet.co.nz <mailto:squid3_at_treenet.co.nz>>
> > > 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
> > >>
> > >>
> > >
> >
> >
>
>

-- 
Please use Squid 2.7.STABLE4 or 3.0.STABLE9
Received on Wed Oct 08 2008 - 10:48:50 MDT

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