(RADIATOR) change realm based on the dial-in box
Hugh Irvine
hugh at open.com.au
Wed Apr 7 17:41:55 CDT 2004
Hello Bogdan -
I generally find it easier to use Handlers for this sort of thing.
# define Client clauses
<Client x.x.x.x>
Identifier Dialin-1
.....
</Client>
<Client y.y.y.y>
Identifier Dialin-2
.....
</Client>
......
# define Handlers
<Handler Client-Identifier = Dialin-1>
<AuthBy SQL>
.....
</AuthBy>
.....
</Handler>
<Handler Client-Identifier = Dialin-2>
<AuthBy SQL>
.....
</AuthBy>
.....
</Handler>
regards
Hugh
On 7 Apr 2004, at 19:30, Bogdan TARU wrote:
>
>
> 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.
>
>
NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.
--
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