Hello Bogdan -

Also keep in mind that you can specify multiple RewriteUsername's to do multiple transforms on the incoming User-Name's.

regards

Hugh


On Saturday, Jan 18, 2003, at 03:51 Australia/Melbourne, Bogdan TARU wrote:



Not really usable, since my realms are like @1, @2, etc. But I will try
to use RewriteUsername as one of the first commands I'm calling in the
radiator, and check then after my own <Realm>.

Thank you for your solutions,
bogdan


----------------------------
iCom Media AG
Kirchweg 36
Koln, 50858
Germany

Phone: +49-(0)221-485-689-16
Fax : +49-(0)221-485-689-20
Mobile:+49-(0)173-906-46-01

On Fri, 17 Jan 2003, Denis Pavani wrote:

I would use an handler search:
<Handler Username=/*#realm1*/>
.....
</Handler>

So you can match a pattern in the username even if not a realm.

Bogdan TARU wrote:

Hi Kurt,

And first of all, thanks for the reply. But your solution doesn't really
work. I am using right now something like 5 different realms for
different purposes, so I don't know the 'initial' realm of
[EMAIL PROTECTED]

I was thinking like replacing:

user@my-realm-1

with something like:

user#my-realm-1 (knowing that I'm never gonna have # in 'user' or
'my-realm-1')

But then, I will have to 'convince' radiator to consider 'my-realm-1' as
being the realm. How hard would that be?

bogdan


----------------------------
iCom Media AG
Kirchweg 36
Koln, 50858
Germany

Phone: +49-(0)221-485-689-16
Fax : +49-(0)221-485-689-20
Mobile:+49-(0)173-906-46-01

On Fri, 17 Jan 2003, Kurt Jaeger wrote:


Hi!


I was wondering how easy would be to convince radiator to use another
"realm separator", instead of the '@' character? I am having troubles over
here in germany, with a big ISP (T-Online) who is installing a piece of
software on their client's machines. And that piece of software rewrites
all the realms of the outgoing calls (no matter which dialer) with their
own '@t-online.de', which basically means our dialers's realm is unusable.
Obviously, the solution would be to use another character instead of '@'
for our realm, and to delete the '@t-online.de' realm where present.

How easy could that be in Radiator?
Very easy.

Let's say: myrealm:[EMAIL PROTECTED]

RewriteUsername s/^myrealm:(\S+)\@t-online.de$/$1\@myrealm/

Will rewrite your username to user@myrealm.

--
MfG/Best regards, Kurt Jaeger 17 years to go !
LF.net GmbH fon +49 711 90074-23 [EMAIL PROTECTED]
Ruppmannstr. 27 fax +49 711 90074-33
D-70565 Stuttgart mob +49 171 3101372


===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

--
********************************************************************** **
Denis Pavani

CINECA - Comunicazioni e Sistemi Distribuiti
NOC - Network Operation Center

phone:+39 0516171953 / fax:+39 0516132198
http://www.cineca.it
********************************************************************** **
"Siamo pagati per adattarci, improvvisare e raggiungere lo scopo"
-- Gunny Highway

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.


--
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 [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to