(RADIATOR) Rewriting realm
Frank Danielson
fdanielson at csky.com
Mon Apr 19 12:43:36 CDT 2004
You can use a regular expression in the realm clause to make it case
insensitive. This is in secion 6.15 of my Radiator manual. Try something
like this-
<Realm /realm\.tld/i>
AuthByPolicy XXXX
AuthBY XXXX
AuthBy XXXX
AuthLog XXXX
AcctLog XXXX
</Realm>
-----Original Message-----
From: Erich Zigler [mailto:erich at superheronetworks.com]
Sent: Monday, April 19, 2004 12:05 PM
To: radiator at open.com.au
Subject: (RADIATOR) Rewriting realm
Currently from our upstream providers we receive the usernames from them in
the following format.
user at realm.tld
However the end users some times type in
user at Realm.TLD, etc. with a mix of capitalization when every thing should be
in lowercase.
Our realms.cfg file is setup in the following way.
<Realm realm.tld>
RewriteUsername s/^([^@]+).*/$1/
AuthByPolicy EveryOne
AuthBy ProxyAccounting
<AuthBy RADIUS>
Identifier Radius
Host xx.xx.xx.xx
Secret xxxx
AuthPort 1645
AcctPort 1646
Retries 5
</AuthBy>
AuthLog AuthLogger
AuthLog AuthLoggerSQL
</Realm>
Is there a way to automatically rewrite the realm name on a global level to
make it lowercase?
RewriteUsername only applies to after the Realm has been determined. I've
searched the documentation but I believe I have missed it.
Any ideas?
Thank you.
--
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.
--
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