Re: [squid-users] Pam_auth => Form based login how to .

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 23 Apr 2010 12:52:08 +1200

Chetan Muneshwar - BetterLabs wrote:
> Hello ,
> Is it possible pam_auth form based login ? any option for it within
> squid extension like external_acls type ?
>

Possible yes. You will have to code it though.

Carefully decide which of the HTTP header and connection details you
trust enough to replace both username and password. (Note: real IP
address is erased by NAT, any HTTP header is easily forged in transit).

Then configure your external_acl_type helper to take those details in
and produce a "OK user=" line or "ERR" result.
  A deny_info line to redirect "ERR" result for the ACL out to your form
page.

How the helper works you will have to figure out.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.1
Received on Fri Apr 23 2010 - 00:52:25 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 23 2010 - 12:00:05 MDT