Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-16-2011, 04:06 AM   #1
Registered: Sep 2006
Posts: 140

Rep: Reputation: 15
Post squid ncsa_auth authenticating and not for some reason


I modified my squid.conf for my personal configuration. Look at # 1, if I put my http_deny deny all here, the authentication never prompts but configuration works. It allows and block other sites.

If I put my http_access deny all in # 2, It prompts for username/pasword but ALL SITES are allowed even i only allowed

HOW COME? Can anyone guide me. thanks

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
auth_param basic children 5
auth_param basic realm username /password
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
http_port 8080
visible_hostname linux.localdomain
acl ncsa_auth proxy_auth "/etc/squid/squid.auth.users.acl"

acl intranet src
acl allowsite dstdomain
acl manager proto cache_object

http_access allow intranet allowsite
# 1 http_access deny all

http_access allow ncsa_auth
http_access allow intranet
# 2 http_access deny all
Old 10-18-2011, 07:19 AM   #2
Registered: Aug 2004
Location: Tucson, AZ
Distribution: Ubuntu 9.04 & 10.10, RHEL 4 & 5
Posts: 48
Blog Entries: 3

Rep: Reputation: 16
It will depend on the contents of the "/etc/squid/squid.auth.users.acl" file. If there are no restrictions in that file, it will override, since you are then using it for your authentication and permissions.


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
SQUID and ncsa_auth riganta Slackware 4 09-06-2011 06:48 PM
Squid and ncsa_auth: authentication is being bypassed... vector4tfc Linux - Server 0 05-27-2010 01:53 AM
bug squid+ncsa_auth stomach Linux - Software 1 01-14-2006 06:14 AM
Squid NCSA_Auth problem thijsvb Linux - Security 1 10-29-2003 08:38 AM
Squid-ncsa_auth jai_ts Linux - Software 1 10-02-2003 10:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:31 AM.

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