Pandel,
How are you?
You can use either NCSA/Samba or LDAP authentication for to access the proxy
through
user authentication.
The following is the NCSA auth procedure.
Please add following lines into /etc/squid.conf
#------please add following lines after icp_port (some number)
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/password
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 /etc/squid/password 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: User PUNDALEEK P Belamge
[mailto:pundaleek@liebnitz.ece.iisc.ernet.in]
Sent: Wednesday, May 19, 2004 8:22 PM
To: squid-users@squid-cache.org
Subject: [squid-users] How to configure authentication?
Frenz,
In squid proxy, I want to configure authentication. So, Plz, help me
regarding this, I mean, the method of configuring the authentication. Any
help will be greatly appreciated.
Thanxy
Regards
Pundaleek
ERNET Helpdesk
Received on Wed May 19 2004 - 07:26:18 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT