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

C.F. Yeung yeungcf at gmail.com
Tue Jun 5 10:03:59 CEST 2012


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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120605/1eb8b974/attachment.html>


More information about the Freeradius-Users mailing list