Hi I'm using squid from 9.2 and is setup and working fine. However I now want to authenticate against a MySQL database. The MySQL authentication program has been written, compiled and tested on it's own and works correctly. The path for this program has been appended to the authenticate_program line in squid.conf. I have also added an proxy_auth REQUIRED acl together with the corresponding http_access allow entry. authenticate_children is set to 5. However, no child processes start when squid is started. Any ideas would be helpful. -- Regards Bill Antonia Network Manager Beacon Community College North Beeches Road Crowborough East Sussex TN6 2AS Tel 01892 603000 Fax 01892 664562
--- Bill Antonia
However, no child processes start when squid is started.
You should ensure that the version of squid you're running has been compiled with: --enable-auth-basic-helpers=MYSQL If you're sure it is (check the documentation), please post your /etc/squid/squid.conf file, and /var/log/squid/error.log (you'l have to tell squid to generate that from within /etc/squid/squid.conf). Restarting squid wouls be the best way to ensure this. -- Thomas Adam ===== "The Linux Weekend Mechanic" -- http://linuxgazette.net "TAG Editor" -- http://linuxgazette.net "<shrug> We'll just save up your sins, Thomas, and punish you for all of them at once when you get better. The experience will probably kill you. :)" -- Benjamin A. Okopnik (Linux Gazette Technical Editor) ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
Hi Thanks, problem solved!!! The version of squid (2.5) does not use authenticate_program but uses auth_param instead. It's now working. Regards Bill
--- Bill Antonia
wrote: However, no child processes start when squid is started.
You should ensure that the version of squid you're running has been compiled with:
--enable-auth-basic-helpers=MYSQL
If you're sure it is (check the documentation), please post your /etc/squid/squid.conf file, and /var/log/squid/error.log (you'l have to tell squid to generate that from within /etc/squid/squid.conf). Restarting squid wouls be the best way to ensure this.
-- Thomas Adam
===== "The Linux Weekend Mechanic" -- http://linuxgazette.net "TAG Editor" -- http://linuxgazette.net
"<shrug> We'll just save up your sins, Thomas, and punish you for all of them at once when you get better. The experience will probably kill you. :)"
-- Benjamin A. Okopnik (Linux Gazette Technical Editor)
___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
participants (2)
-
Bill Antonia
-
Thomas Adam