Have changed the unlang as follow. update request { NAS-Identifier := "new-nas-identifier" } Tried put it under authorize, pre-proxy or post-proxy, nothing changed. On Tue, Jun 5, 2012 at 2:45 PM, Alan DeKok <aland@deployingradius.com>wrote:
C.F. Yeung wrote:
I want to update NAS-Identifier in Access-Request before proxying to other radius server. Tried adding the following lines in default but in vain.
WHERE? Just some random place?
Or did you READ the file, and look for "proxy". If you had done that, the solution would be obvious.
So, where should I put the following unlang?
update request { NAS-Identifier = "new-nas-identifier" }
Read "man unlang". You want to use ":=", not "="
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html