RE: [squid-users] Re: [Ilugc] RE: [squid-users] NCSA auth

From: Srinivas <skatta@dont-contact.us>
Date: Wed, 19 May 2004 18:43:55 +0530

Yep.

You can add lines after icp_port 3130 and stop/start the squid.

Thanks,
Srinivas

-----Original Message-----
From: Varun [mailto:varun@sriaurobindoashram.com]
Sent: Tuesday, May 18, 2004 7:48 PM
To: skatta@indusrad.com; squid-users@squid-cache.org
Subject: [squid-users] Re: [Ilugc] RE: [squid-users] NCSA auth

hello srinivasa,
                        Thanks For help.
I did not find icp_port 0:

" #------please add following lines after icp_port 0 "

However there is :

# icp_port 3130

so I put the lines there. I hope it is ok

Thanks

Varun

Srinivasa Rao Katta wrote:

>Varun,
>
>How are you?
>Please add following lines into /etc/squid.conf
>
>#------please add following lines after icp_port 0
>auth_param basic program /usr/lib/squid/ncsa_auth /usr/lib/squid/etc/passwd
>auth_param basic children 5
>auth_param basic realm Tell me your user name and password
>auth_param basic credentialsttl 30 minutes
>#-------------------------------------------------------------------
>#-Please add following line before any http_access starts
>------------------------------------------------------------------
>acl authentic proxy_auth REQUIRED
>http_access allow authentic
>#-------------------------------------------------------------------
>
>--------------------------------------------------------------------
>Please use
>
>/usr/bin/htpasswd -c /usr/lib/squid/etc/passwd user-id passwd
>for to add the user and passwd to NCSA database.
>
>Please stop/start the squid daemon after added above things.
>
>/etc/init.d squid stop
>/etc/init.d squid start
>
>Please letme know,If you have any questions or concerns.
>Best of Luck.
>
>Thanks,
>Srinivas
>
>-----Original Message-----
>From: Varun [mailto:varun@sriaurobindoashram.com]
>Sent: Saturday, May 15, 2004 8:37 AM
>To: squid-users@squid-cache.org; ilugc@ae.iitm.ac.in
>Subject: [squid-users] NCSA auth
>
>
>hello,
> I want to use NCSA based auth with IP of machines.
>I am using now only IP for acl as follows :
>
>acl abc src 192.168.0.1
>http_access allow abc
>
>I want to add say username and password also for auth
>using NCSA.
>
>I believe I need to add the following line in squid.conf
>
>authenticate_program /usr/local/squid/bin/ncsa_auth
>/usr/local/squid/etc/passwd
>
>I am not sure exactly where to add the above line.
>
>Futher I need to create the file passwd in
>
>/usr/local/squid/etc/
>
>Howto add username and password to the file passwd?
>
>What should I add to my present acl in squid.conf to add
>NCSA auth with username and password ?
>
>
>Thanks in advance
>
>Varun
>_______________________________________________
>To unsubscribe, email ilugc-request@ae.iitm.ac.in with
>"unsubscribe <password> address"
>in the subject or body of the message.
>http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>
>
>
Received on Wed May 19 2004 - 07:19:48 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT