Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-29-2006, 12:47 AM
|
#1
|
LQ Newbie
Registered: Feb 2006
Location: India,Chennai
Distribution: RHEL 4
Posts: 9
Rep:
|
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..
|
|
|
06-29-2006, 01:29 AM
|
#2
|
Member
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855
Rep:
|
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.
|
|
|
06-30-2006, 12:28 AM
|
#3
|
LQ Newbie
Registered: Feb 2006
Location: India,Chennai
Distribution: RHEL 4
Posts: 9
Original Poster
Rep:
|
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.,
|
|
|
06-30-2006, 04:58 AM
|
#4
|
Member
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855
Rep:
|
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.
|
|
|
07-10-2006, 05:33 PM
|
#5
|
LQ Newbie
Registered: Jul 2006
Location: Pune
Distribution: Redhat
Posts: 22
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 09:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|