LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-02-2007, 02:11 AM   #1
sunlinux
Member
 
Registered: Feb 2006
Distribution: RHCL 5
Posts: 239

Rep: Reputation: 30
problem with squid authentication


for user based Authentication I configured use ncsa_auth just following steps
#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
but when I access web from othr system I get dialog box asking to enter username & password. but it's not accepting n giving error cache access denied. pls. help.
 
Old 08-10-2007, 01:08 PM   #2
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
Quote:
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
change that to

Code:
auth_param basic program /usr/libexec/squid/ncsa_auth /etc/squid/squid_passwd
even if that doesnt work change the user/passwd file from squid_pass to squid.pass

try it shd work
 
  


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 authentication problem in fc5 redfed5 Linux - Server 2 04-19-2007 03:07 AM
Squid authentication problem vincenzocico Linux - Security 2 03-26-2007 07:23 AM
Squid Authentication Problem FIGHTCLUB Linux - Networking 0 02-23-2007 01:35 AM
Squid authentication problem man_linux Linux - Security 1 02-06-2007 12:19 AM
Squid Authentication problem using ncsa_auth alexjordan02 Linux - Software 0 01-28-2004 09:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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