--- On Wed, 22/10/08, Ravi <[EMAIL PROTECTED]> wrote:

From: Ravi <[EMAIL PROTECTED]>
Subject: [LinuxVadaPav] SQUID PROBLEM
To: linuxvadapav@yahoogroups.com
Date: Wednesday, 22 October, 2008, 11:02 PM






Is there any way to authenticate client users with proxy
server(ncsa, ntlm,pam, ldap etc) and the proxy been in the transparent
mode. I created a transparent proxy but then the auth_param function
doesnt works and the clients machine gets connected without
authentication.

Help needed.

 
Hi, 
  
First check if ncsa available in squid by following:- 
  
# rpm -ql squid | grep ncsa_auth 
output must come: /usr/lib/squid/ncsa_auth 
   
Follow the below steps and reply about it:- 
  
User based Authentication you need to use ncsa_auth just follow the step 
which i am writing below it will work:- 

#touch /etc/squid/squid_passwd
#chmod o+r /etc/squid/squid_passwd
#htpasswd /etc/squid/squid_passwd mubeen
New password:
Re-type new password:
Adding password for user mubeen


 Add this to the auth_param section of squid.conf

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd


 Add this to the bottom of the ACL section of squid.conf

acl ncsa_users proxy_auth REQUIRED


 Add this at the top of the http_access section of squid.conf

http_access allow ncsa_users 
 

Restart squid:
# /etc/init.d/squid restart
 
 
 
Rgds,
Mubeen Nakade.

 














      Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/

[Non-text portions of this message have been removed]

Reply via email to