Re: rewrite or unlang problem

Libor Astalos astli at seznam.cz
Fri Dec 18 22:26:57 CET 2009


I need to auth clients dependent on switch mac address and switch port: agent-remote-id and agend-circuit-id from dhcp option 82 insertion.

I used this  User-Name := %{request:Agent-Remote-Id}, because I don't know, how to pass the value of Agent-Remote-Id from access-request and I tried more options, for example:

User-Name := "%{request:Agent-Remote-Id}"
User-Name := "%{Agent-Remote-Id}"

and so on.

> ------------ Původní zpráva ------------
> Od: Alan Buxey <A.L.M.Buxey at lboro.ac.uk>
> Předmět: Re: rewrite or unlang problem
> Datum: 18.12.2009 22:19:30
> ----------------------------------------
> Hi,
> 
> > I need to change User-Name similar to this statement:
> > 
> > update request {
> >    User-Name := %{request:Agent-Remote-Id}
> > }
> 
> User-Name := "%{request:Agent-Remote-Id}"
> 
> ?
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 
> 
> 




More information about the Freeradius-Users mailing list