(RADIATOR) change realm based on the dial-in box

Matthew Trout MatthewTrout at businessserve.co.uk
Wed Apr 7 05:01:38 CDT 2004


You could try something along the lines of

<Handler {conditions} User-Password=/.+/>
  ... (auth here) ...
</Handler>

<Handler {conditions} Accounting-Type=/.+/ NAS-IP-Address={IP of NAS 1}>
  ... (acct for NAS 1 here) ...
</Handler> 

<Handler {conditions} Accounting-Type=/.+/ NAS-IP-Address={IP of NAS 2}>
  ... (acct for NAS 2 here) ...
</Handler> 

There's probably a better way to separate the auth/acct packets out, but I
think that should work ...

-----Original Message-----
From: Bogdan TARU [mailto:bgd at icomag.de]
Sent: 07 April 2004 10:31
To: radiator at open.com.au
Subject: (RADIATOR) change realm based on the dial-in box




	Hi guys,

 I have a scenario in which two cisco dialin boxes are accepting
 dialins and should authentificate against a single radiator, but the
 dialin infos should go to two different accounting mysql tables,
 depending on the dialin box.

 I think this could be solved by running two radiators, but I'm
 curious if there is any other way as well... for example, to modifiy
 the realm of the dialin based on the dialin box, for example if the
 realm was @1 and the dialin box was the first cisco, modify the realm
 to @1-cisco1, and then create different <realm> statements. But don't
 know exactly how can I decide from which dialin box I get the
 authentification request, and how to 'add' the realm to the existing
 realm...

 Could anyone help me?

 Thanks,
 bogdan

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list