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


  Search this Thread
Old 08-01-2009, 03:37 AM   #1
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, 09:09 AM   #2
LQ Newbie
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled

Try : http_reply_access deny myacl



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 11:03 AM
squid! external_acl_type problem haxpak Linux - Server 4 01-14-2009 09:13 AM
Telnet login: Notification format 55riaz Linux - Networking 2 07-28-2005 01:06 AM
Linux Login after format mastertr SUSE / openSUSE 3 12-26-2004 08:15 AM
login name format barDo Linux - General 1 04-09-2003 01:00 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:10 PM.

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