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