(RADIATOR) Rewrites for multiple realms

Hugh Irvine hugh at open.com.au
Tue May 14 01:41:41 CDT 2002


Hello Gordon -

The best way to deal with this problem is to have different called numbers 
for each different virtual ISP, and use a Handler clause for each one:

<Handler Called-Station-Id = nnnnnnn>
	.....
</Handler>

<Handler Called-Station-Id = mmmmmm>
	.....
</Handler>

Otherwise if you have different NAS equipment for each virtual ISP, you can 
add a "DefaultRealm x.y.z" to each corresponding Client clause.

The only way to do exactly what you describe is to write a Hook that will do 
the processing required to try the different possibilities. There are some 
example hooks in the file "goodies/hooks.txt".

regards

Hugh


>
> I've got multiple realms running in radius. Some users haven't managed
> to grasp the realm idea yet (telling them to use username at domain causes
> them confusion).
> I'm now adding other realms that will, no doubt, contain similar users.
> What I'd like to do is set up a DEFAULT handler that catches usernames
> with no realm, and appends each realm in turn until it finds a match.
>
> Currently, I use all handlers, since the docs suggest that mixing realms
> & handlers can cause problems.
>
> Is this a practical solution? What are others doing? This must be pretty
> common among those running multiple virtual ISPs.
>
> Cheers,
> Gordon
>
> -------------------------------------------------------

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
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