Re: [squid-users] Multiple Auth Realms / E-mail auth

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 2 Jul 2003 21:46:03 +0200

On Tuesday 01 July 2003 19.42, Diego Rivera wrote:
> Hello all
>
> I've been combing through the mailing lists trying to find a
> conclusive answer to my question, but with little luck as yet.
>
> I did find references to functionality similar to what I need, but
> it's supposedly in 2.5 - which I don't have and can't implement
> because of its beta-status (I'm using 2.4-STABLE7).

???

Squid-2.5 is the current STABLE Squid release. Squid-2.4 is obsolete
and no longer maintained or even bug fixed by the Squid HTTP proxy
team.

But there is not much changes in the subject between Squid-2.4 and
Squid-2.5.

> Here's my issue: I need to have 1 squid proxy for a group of
> companies that share the same building. Each company has their own
> auth server, and e-mail domain. Some share LDAP servers, but users
> are on different branches of the tree.

Ok.

> My ideal solution would be to have the proxy authenticate using the
> user's full e-mail and their password. The authenticator program
> (or internal module, or whatever) would then discern which server
> to auth against from the e-mail addx domain, and proceed
> accordingly.

This can easily be done. You need a little glue between Squid and the
auth helpers but not much.

See the dummy example of using two different auth helpers for an
example of how to use multiple auth helpers. This glue just needs to
be extended a little to do what you are after.

Search the Squid archives for Open2

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Wed Jul 02 2003 - 13:46:13 MDT

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