LinuxQuestions.org
Help answer threads with 0 replies.
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-01-2009, 04:37 AM   #1
niksad8
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
Unhappy external_acl_type %LOGIN format problem please help.


Hello every one,
I am trying to change a few authentication policies in our work environment. We are using a squid (2.6.stable12) proxy server to authenticate our users, and grant them internet access. Now i also want to implement a block list policy. I store the block list in a mysql database, and am trying to use a exteral_acl program to check with this list. This is where the problem arise.

external_acl_type myhelper %DST %PATH %LOGIN /usr/bin/php /testauth.php
acl myacl external myhelper
http_access deny myacl

As u can see the above script gets the full url and username. The script is working fine, but the problem is when the user visits a particular blocked site, it keeps prompting the password dialog. Only when he/she cancels, the error that its blocked is displayed. If i remove %LOGIN from above external acl statement, it works fine, but the problem is that it does not meet my requirement :S. Does anyone know how to solve this problem? Or is there any other way that i can get the LOGIN name to the script with out using %LOGIN?
Any help will be appreciated.
Thank you
 
Old 02-03-2012, 10:09 AM   #2
squillante
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
Hello

Try : http_reply_access deny myacl
 
  


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
external_acl_type Squid, cannot understand options markotitel Linux - Server 16 08-26-2009 12:03 PM
squid! external_acl_type problem haxpak Linux - Server 4 01-14-2009 10:13 AM
Telnet login: Notification format 55riaz Linux - Networking 2 07-28-2005 02:06 AM
Linux Login after format mastertr Suse/Novell 3 12-26-2004 09:15 AM
login name format barDo Linux - General 1 04-09-2003 02:00 PM


All times are GMT -5. The time now is 06:26 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration