Try naming the realm DEFAULT.  It looks at anything after the @ to determine the realm name.  So, if a customer logs in as [EMAIL PROTECTED], it is going to look for a realm called <Realm abc.com>.  By default, if Radiator finds no matches, it will try to use <Realm DEFAULT>.
 
-Ronan
 
----- Original Message -----
Sent: Thursday, 28 February, 2002 19:36
Subject: (RADIATOR) RewriteUsername

Hi,
 
I have RewriteUsername s/^([^@]+).*/$1/  in my radius.cfg file however domains don't appear to be stripped from users who inadvertently login with their email address. I'm getting errors in the logfile such as "Could not find a handler for username@domainname: request is ignored"
 
Below is the appropriate section from my radius.cfg
 
Regards
 
Barry Andersson
 
 

<AuthBy SYSTEM>

UseGetspnamf

Identifier System

</AuthBy>

<Realm auth>

RewriteUsername s/^([^@]+).*/$1/

MaxSessions 1

<AuthBy FILE>

Filename ./users

</AuthBy>

AcctLogFileName /var/log/radius/detail

</Realm>

<Realm>

<AuthBy INTERNAL>

AcctResult ACCEPT

</AuthBy>

</Realm>

Reply via email to