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