[RADIATOR] Rewriting Realm

Hugh Irvine hugh at open.com.au
Mon May 31 18:20:40 CDT 2010


Hello Ronald -

Try this:

	RewriteUsername s/\@realm2.com$/\@realm1.com/

regards

Hugh


On 1 Jun 2010, at 04:50, ronald higgins wrote:

> Good Evening fellow list members.
> 
> Does anyone have a working example for rewriting realms?
> I've got 2 realms which on the backend is actually 1 realm and i'm
> looking for a way
> too rewrite the realms ie. user at realm1.com or user at realm2.com get's
> rewritten to user at realm1.com .
> 
> Any pointers?
> 
> The example i found in the list i could not get going:
> 
> RewriteUsername s/^(.*)\@(.*)\@(.*)/$1\@$3/
> this should match any user1 at realm2@realm1 and rewrite as user1 at realm1
> 
> Regards
> 
> Ronald
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator



NB: 

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/radiator)?
Have you had a quick look on Google (www.google.com)?
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.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
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.





More information about the radiator mailing list