update NAS-Identifier in Access-Request before proxying to other radius server

Alan DeKok aland at deployingradius.com
Tue Jun 5 08:45:57 CEST 2012


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.




More information about the Freeradius-Users mailing list