Search squid archive

Problems With Authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello there!
I'm new to squid-cache and am having some problems using authentication.

Before I go further I figure it would be helpful for you to know my
configuration

OS 			: Fedora Core
Squid Version           : squid-2.6.STABLE3
Authentication Module   : mysql_auth-0.8.

configured with		: ./configure --enable-ssl
Install location	: /usr/local/squid/
MySQL Auth		: /usr/local/squid/libexec

Added the following to Squid.conf


	auth_param basic realm Private Access
	auth_param basic program /usr/local/squid/libexec/mysql_auth
	auth_param basic credentialsttl 5
	auth_param basic children 5

	acl sip src ***.***.***.***
	acl MyPeople proxy_auth REQUIRED

	http_access allow sip MyPeople



When I run this with the obvious IP address replaced with real numbers I get

2006/09/04 21:48:12| WARNING: No units on 'auth_param basic
credentialsttl 5', assuming 5.000000 second
Aborted (core dumped)


However, if I comment out like this and run it the program starts fine
without a problem

	#auth_param basic realm Private Access
	#auth_param basic program /usr/local/squid/libexec/mysql_auth
	#auth_param basic credentialsttl 5
	#auth_param basic children 5

	acl sip src ***.***.***.***
	#acl MyPeople proxy_auth REQUIRED

	http_access allow MyPeople



The file core.10180 was created in /usr/local/squid/var/cache/


When I use GDB : GDB -c core.10180

I get the following response:

Core was generated by `./squid -N -f /usr/local/squid/etc/squidAuth.conf'.
Program terminated with signal 6, Aborted.
#0  0x006877a2 in ?? ()


I have also tried making my own simple reader in PERL to simply return
"OK" as a hard-coded value on STDOUT

auth_param basic program /usr/bin/perl /usr/local/squid/libexec/perlAuth.cgi

Which does not work either and generates the same type of error.


Any suggestions from the listserv?


Thanks in advance

Kevin Gordon

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux