(RADIATOR) Rewriting realm

Erich Zigler erich at superheronetworks.com
Mon Apr 19 11:04:49 CDT 2004


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.


More information about the radiator mailing list