Re: [squid-users] Squid Authentification

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 11 Sep 2002 17:08:11 +0200

Marcus Friede wrote:

> Can you give me an example how to write such a wrapper script?

I have written some example wrapper scripts before... and others have
continued on this to write scripts very similar to what you are after. try
searching squid-users for "open2".

Particulary this response is of interest to you I think
<URL:http://www.squid-cache.org/mail-archive/squid-users/200109/0240.html>

> Squid starts some processes of the program which is quoted in squid.conf,
> authenticate_program. But how does squid forward the login, password to
> these processes? How can i forward such "parameters" to a process at all?

Squid just sends
username <space> password <newline>
and expects OK or ERR as result.

Regards
Henrik
Received on Wed Sep 11 2002 - 09:08:26 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:12 MST