Re: [squid-users] How to debug external_acl_type

From: Maik Kündig <Maik.Kuendig_at_reist-tele.com>
Date: Wed, 26 Aug 2009 09:26:30 +0200

Hello,

Am 25.08.09 19:32, "Henrik Nordstrom" <henrik_at_henriknordstrom.net> schrieb:

> tis 2009-08-25 klockan 17:14 +0200 skrev Maik Kündig:
>> I need some help to debug a external_acly_type problem. Which debug options
>> to set? Where can I find more output?
>
> What are you looking for?

I have enabled full debuging options, but I can't find why I never get
access to any site:

-----8<-----
2009/08/25 17:09:17| aclCheck: checking 'http_access allow MyAcl'
2009/08/25 17:09:17| aclMatchAclList: checking MyAcl
2009/08/25 17:09:17| aclMatchAcl: checking 'acl MyAcl external myAclType'
2009/08/25 17:09:17| aclMatchExternal: acl="myAclType"
2009/08/25 17:09:17| aclAuthenticated: returning 0 sending credentials to
helper.
2009/08/25 17:09:17| aclMatchExternal: myAclType user not authenticated (-1)
2009/08/25 17:09:17| aclMatchAclList: no match, returning 0
2009/08/25 17:09:17| aclCheck: checking password via authenticator
----->8-----

My Perl Sript should allways return "OK":
-----8<-----
#!/usr/bin/perl

$|=1;

while (<>) {
  print "OK";
}
----->8-----

Best regards

Maik Kündig
Received on Wed Aug 26 2009 - 07:23:08 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 26 2009 - 12:00:04 MDT