(RADIATOR) RewriteUsername

Ronan Eckelberry, Network/Systems Admin radiator at gowebco.com
Thu Feb 28 19:46:08 CST 2002


    Try naming the realm DEFAULT.  It looks at anything after the @ to determine the realm name.  So, if a customer logs in as user at abc.com, 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 ----- 
  From: Barry Andersson 
  To: radiator at open.com.au 
  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 at 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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20020228/76e0ac60/attachment.html>


More information about the radiator mailing list