LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-29-2006, 12:47 AM   #1
r_s_karthikeyan
LQ Newbie
 
Registered: Feb 2006
Location: India,Chennai
Distribution: RHEL 4
Posts: 9

Rep: Reputation: 0
User authentication in squid


Hai.,we are using squid 3 in our network.,we need to configure the user authentication to this.,we configured like this
acl pass proxy_auth REQUIRED
acl mynetwork src 192.168.1.0/24
http_access allow pass
http_access allow mynetwork
But the authentication is not working.,whai i need to do? any more configuration needed..we are using rhel 4 OS...help me..
 
Old 06-29-2006, 01:29 AM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
what kind of squid auth are you using? unix? ldap? ntlm? what error are you getting? are you getting an auth prompt? have you tried removeing the 'acl mynetwork src 192.168.1.0/24 & 'http_access allow mynetwork' lines? restarting squid /etc/init.d/squid restart? more information is needed.
 
Old 06-30-2006, 12:28 AM   #3
r_s_karthikeyan
LQ Newbie
 
Registered: Feb 2006
Location: India,Chennai
Distribution: RHEL 4
Posts: 9

Original Poster
Rep: Reputation: 0
We didn't get an authentication prompt..And also i tried without this two lines "acl mynetwork src 192.168.1.0/24 & http_access allow mynetwork" but access dined prompt occured.,we are using NIS for user sharing to our network.,
 
Old 06-30-2006, 04:58 AM   #4
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
okay, show the the parts of your squid.conf file that you've setup authenitication in. Have you setup PAM authenitication in squid using NIS or how have youset it up, because i wasn;t aware that squid had NIS authenitication.

check out this how-to

http://www.opensourcehowto.org/how-t...ntication.html

Just setup PAM using NIS

Last edited by paul_mat; 02-12-2007 at 09:31 PM.
 
Old 07-10-2006, 05:33 PM   #5
vishal_titre
LQ Newbie
 
Registered: Jul 2006
Location: Pune
Distribution: Redhat
Posts: 22

Rep: Reputation: 15
for user based Authentication you need to use ncsa_auth just follow the step
which i am writing below ir will work.
#touch /etc/squid/squid_passwd
#chmod o+r /etc/squid/squid_passwd
#htpasswd /etc/squid/squid_passwd vishal
New password:
Re-type new password:
Adding password for user vishal

#
# 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




now Forcing Users To Use Your Squid Server
it will works
By
 
  


Reply

Tags
squid


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User based Authentication in Squid instead of Terminal based. TSK2000 Linux - Software 1 12-30-2005 03:22 AM
squid authentication agent bigote Linux - Newbie 0 09-23-2004 03:33 AM
Squid proxy with user authentication and user rights duvanhorn Linux - Networking 0 08-07-2003 04:40 AM
Squid - Authentication TechnoBod Linux - Networking 3 06-23-2003 08:19 AM
Squid Proxy, User Authentication chrehmatali Linux - Security 3 05-03-2003 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration