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@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