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]

 



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@xxxxxxxxx <mailto:avinash.aol@xxxxxxxxx>> wrote:

    thanks and i will check it today.

    On Thu, Oct 2, 2008 at 9:09 AM, Amos Jeffries <squid3@xxxxxxxxxxxxx
    <mailto:squid3@xxxxxxxxxxxxx>> 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@xxxxxxxxxxxxx <mailto: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
     > >>
     > >>
     > >
     >
     >




--
Please use Squid 2.7.STABLE4 or 3.0.STABLE9

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

  Powered by Linux