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: al...@deployingradius.com
> To: freeradius-users@lists.freeradius.org
> Subject: Re: Help pls: How to strip REALM but insert it from a usern...@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/
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to