LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2005, 04:33 AM   #1
tombarnfield
LQ Newbie
 
Registered: May 2005
Posts: 4

Rep: Reputation: 0
Squid Authentication via Parent


I am using a linux box as a local cache using squid, and want to be able to direct requests through the cache to a parent proxy that requires authentication.

I have added the lines below to my squid conf file:

cache peer <IP address of parent proxy server> parent 3128 0 no-query default

acl all src 0.0.0.0/0.0.0.0

never_direct allow all

With these lines added, the requests do appear to be directed to the parent proxy and the authentication window for the parent pops up. When the username and password are entered and OK is clicked, the authentication window pops up again. The user never gets past the authentication request.

If I remove the 3 lines above, the local caching server works OK, without forwarding to the authenticating parent. Also, if I direct client requests directly to the authenticating parent, without using the local cache, user's authentication details are accepted.

Why won't the authentication details be accepted when requests go through the local caching proxy?
 
Old 06-26-2005, 02:29 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
i take it you left-out the underscore between cache and peer here in your post but not in the squid.conf, right??

[ this post is just a courtesy bump in case you haven't worked-out your issue yet... ]


Last edited by win32sux; 06-26-2005 at 02:44 PM.
 
Old 06-27-2005, 05:31 AM   #3
tombarnfield
LQ Newbie
 
Registered: May 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Yes - I have cache_peer in squid conf, thanks.
- and no - I haven't resolved the poblem yet....

Last edited by tombarnfield; 06-27-2005 at 05:33 AM.
 
Old 06-27-2005, 10:35 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
do your squid logs show anything when the user isn't able to get past that window??
 
  


Reply



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
squid parent proxy question MPowers Linux - Networking 3 06-28-2005 11:04 AM
SQUID authentication jhp Linux - Software 2 06-14-2005 10:39 AM
squid authentication agent bigote Linux - Newbie 0 09-23-2004 02:33 AM
Squid authentication gubak Linux - Networking 10 08-13-2004 08:31 AM
squid authentication mayankjohri Linux - General 2 03-13-2003 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:50 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