[squid-users] using 2 sets of basic authentication in squid

2003-03-27 Thread Alex Sharaz
Hi all,

quick question

I'm testing out squid authentication on a number of class c subnets here 
with specific ACL statements that indicate authentication is required on a 
given subnet. At the moment i'm using pam/ldap to implement the 
authentication and everything seems to work fine.

For various reasons, I might need to have some subnets that authenticate to 
a radius server instead of to an ldap one.

I've downloaded the squid_radius_auth code and am running it on a 
development server adn that seems to work fine

the question is :-

can you define/run two basic authentication schemes on one squid box

TIA
Alex
Sent using Mulberry 3.01a


Re: [squid-users] using 2 sets of basic authentication in squid

2003-03-27 Thread Henrik Nordstrom
tor 2003-03-27 klockan 11.43 skrev Alex Sharaz:

 can you define/run two basic authentication schemes on one squid box

Not unless you from the username can determine which backend password
database to use.

If you can identify from the username which backend password database to
use then it is possible to write a little glue script which sits
inbetween Squid and the basic auth helpers, selecting which helper to
use based on the user.

-- 
Henrik Nordstrom [EMAIL PROTECTED]
MARA Systems AB, Sweden




Re: [squid-users] using 2 sets of basic authentication in squid

2003-03-27 Thread Henrik Nordstrom
Then you will need to run two Squid instances.

Regards
Henrik

tor 2003-03-27 klockan 12.12 skrev Alex Sharaz:
 unfortunately the userid would be the same. The only unique parameter would 
 be the callers ip subnet
 
 --On 27 March 2003 12:02 +0100 Henrik Nordstrom [EMAIL PROTECTED] wrote:
 
  tor 2003-03-27 klockan 11.43 skrev Alex Sharaz:
 
  can you define/run two basic authentication schemes on one squid box
 
  Not unless you from the username can determine which backend password
  database to use.
 
  If you can identify from the username which backend password database to
  use then it is possible to write a little glue script which sits
  inbetween Squid and the basic auth helpers, selecting which helper to
  use based on the user.
 
  --
  Henrik Nordstrom [EMAIL PROTECTED]
  MARA Systems AB, Sweden
 
 
 
 
 Sent using Mulberry 3.01a
-- 
Henrik Nordstrom [EMAIL PROTECTED]
MARA Systems AB, Sweden