Hello Barry -
The way your configuration file is set up, you will only get usernames of the form "user@auth" in the <Realm auth> clause. If the username is of the form [EMAIL PROTECTED], it will not go to the <Realm auth> clause, hence will not get rewritten. The other <Realm> clause will only match usernames without realm suffixes, hence the message "Could not find a handler ...". regards Hugh On Fri, 1 Mar 2002 11:36, Barry Andersson wrote: > 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> -- 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.
