[squid-users] auth_program perl script using mysql dont work?

From: Luis R. Contreras <rccreasys@dont-contact.us>
Date: Thu, 14 Jul 2005 18:37:39 -0700 (PDT)

Dear Squid users,

I am trying to write an proxy authentication perl
script authenticate2.pl that simple uses a mysql table
to verify user and password, this is the part of the
squid.conf

auth_param basic program
/usr/lib/squid/authenticate2.pl
auth_param basic realm Proxy Server
auth_param basic credentialsttl 4 hour
acl users proxy_auth REQUIRED
acl all src 0.0.0.0/0.0.0.0

There is an error that I notice from cache.log,
it seems that the file authenticate2.pl does not
exist, but it does and is in the directory indicated
and it has 777 permissions,
/usr/lib/squid/authenticate2.pl

Would you please tell me what is wrong? or is it a
bug?

I would really appreciate any help,

Here is part of the cache.log where I see the error,

Squid Cache (Version 2.5.STABLE1): Exiting normally.
2005/07/14 06:32:43| Starting Squid Cache version
2.5.STABLE1 for i386-redhat-linux-gnu...
2005/07/14 06:32:43| Process ID 4697
2005/07/14 06:32:43| With 1024 file descriptors
available
2005/07/14 06:32:43| DNS Socket created at 0.0.0.0,
port 32818, FD 5
2005/07/14 06:32:43| Adding nameserver 168.234.224.4
from /etc/resolv.conf
2005/07/14 06:32:43| helperOpenServers: Starting 5
'authenticate2.pl' processes
2005/07/14 06:32:43| ipcCreate:
/usr/lib/squid/authenticate2.pl: (2) No such file or
directory
2005/07/14 06:32:43| ipcCreate:
/usr/lib/squid/authenticate2.pl: (2) No such file or
directory
2005/07/14 06:32:43| ipcCreate:
/usr/lib/squid/authenticate2.pl: (2) No such file or
directory
2005/07/14 06:32:43| ipcCreate:
/usr/lib/squid/authenticate2.pl: (2) No such file or
directory
2005/07/14 06:32:43| ipcCreate:
/usr/lib/squid/authenticate2.pl: (2) No such file or
directory

Best regards,

Richard

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on Thu Jul 14 2005 - 19:37:42 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT