(RADIATOR) RE: RewriteUsername
hugh at open.com.au
Tue Dec 4 16:24:35 CST 2007
Hello Kon -
Its a bit difficult to give an answer without the complete context -
what are the detailed requirements?
What is in the existing configuration file? How exactly is the
problem showing up?
Copies of configuration file(s) and trace 4 debugs are essential.
On 5 Dec 2007, at 07:38, Kon Georgopoulos ((Alphawest)) wrote:
> Ok, I gave it a go.
> RewriteUsername s/^(.*)\@(.*)\@(.*)/$1\@$3/
> (this should match any user1 at realm2@realm1 and rewrite as
> user1 at realm1)
> Also taking it the exteme:
> RewriteUsername s/^(.*)\@(.*)\@(.*)\@(.*)/$1\@$4/
> (this should match any user1 at realm2@realm3 at realm1 and rewrite as
> user1 at realm1)
> Any comments?
> From: Kon Georgopoulos (Alphawest)
> Sent: Wed 05/12/2007 7:34 AM
> To: radiator at open.com.au; hugh at open.com.au
> Subject: RewriteUsername
> We have an issue wherer users can type in for example
> user1 at realm2@realm1 and be allowed to authenicated into the realm1
> with the user1 from realm2's account.
> Would the best approach to this be to make use of RewriteUsername
> to correcltty format? I could strip out the first name before the
> first @ and user the realm after the last @.
> So are there any regular expression GURUs?
Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/
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?
Have you checked the RadiusExpert wiki:
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.
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