Help pls: How to strip REALM but insert it from a username at MAC	onto an MySQL DB
    Lucio Godoy 
    luciocfgodoy at hotmail.com
       
    Sun Jan 24 21:01:27 CET 2010
    
    
  
Hi Alan B and Alan D;
 
I'll investigate the unlang, thats what i needed a pointer where to look.
 
I'll post my findings
 
Many thanks
 
Lucio
 
> Date: Sun, 24 Jan 2010 17:04:42 +0100
> From: aland at deployingradius.com
> To: freeradius-users at lists.freeradius.org
> Subject: Re: Help pls: How to strip REALM but insert it from a username at MAC onto an MySQL DB
> 
> Lucio Godoy wrote:
> > I would like to continue with the same authentication method by when the
> > user is authenticating they will include their MAC address as such:
> > 
> > username @ MAC_ADDRESS
> > 
> > Freeradius is to strip the MAC_ADDRESS, then insert onto the field
> > "Realm" on the table "radacct" and then authenticate the user normally
> > via the username+password combination.
> 
> Use regexes.
> 
> > I have researched and have not found a way to implement this.
> 
> See "man unlang". Match the User-Name with a regex, split it into two
> fields, and update any attribute lists you believe to be necessary.
> 
> Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
 		 	   		  
_________________________________________________________________
Tell us your greatest, weirdest and funniest Hotmail stories
http://clk.atdmt.com/UKM/go/195013117/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100124/5466effb/attachment.html>
    
    
More information about the Freeradius-Users
mailing list