Hi there, I'm using radius proxy and I'm trying to send to main radius the value of NAS-Port-Id to Called-Station-Id Atribute. I added the following line on post-auth section: update reply { Called-Station-Id += "%{reply:NAS-Port-Id}" } But It's doesn't work. Anyone could help how should I proceeded? Thanks.
On Oct 11, 2017, at 9:45 AM, Cassiano Peixoto <peixotocassiano@gmail.com> wrote:
I'm using radius proxy and I'm trying to send to main radius the value of NAS-Port-Id to Called-Station-Id Atribute.
I added the following line on post-auth section:
update reply { Called-Station-Id += "%{reply:NAS-Port-Id}" }
But It's doesn't work. Anyone could help how should I proceeded?
See the FAQ for "it doesn't work". The server has debug output you can use to find the problem. Run the server in debugging mode as suggested in the FAQ, "man" pages, web pages, and almost daily on this list. Alan DeKok.
you havent provided any debug output - that would show what current values are what - but WHAT is it you are trying to achieve with that update reply? a second Called-Station-Id value of a NAS-Port-Id back to the parent RADIUS - why? alan On 11 October 2017 at 14:45, Cassiano Peixoto <peixotocassiano@gmail.com> wrote:
Hi there,
I'm using radius proxy and I'm trying to send to main radius the value of NAS-Port-Id to Called-Station-Id Atribute.
I added the following line on post-auth section:
update reply { Called-Station-Id += "%{reply:NAS-Port-Id}" }
But It's doesn't work. Anyone could help how should I proceeded?
Thanks. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Because I'm not receiving anything from Called-Station-Id. It's completely empty. Anyway, I got It working, if someone else need, that's what I did: on accounting section: update request { Called-Station-Id += &NAS-Port-Id } And on post-auth: update reply { Called-Station-Id += &NAS-Port-Id } On Wed, Oct 11, 2017 at 2:34 PM, Alan Buxey <alan.buxey@gmail.com> wrote:
you havent provided any debug output - that would show what current values are what - but WHAT is it you are trying to achieve with that update reply? a second Called-Station-Id value of a NAS-Port-Id back to the parent RADIUS - why?
alan
Hi there,
I'm using radius proxy and I'm trying to send to main radius the value of NAS-Port-Id to Called-Station-Id Atribute.
I added the following line on post-auth section:
update reply { Called-Station-Id += "%{reply:NAS-Port-Id}" }
But It's doesn't work. Anyone could help how should I proceeded?
Thanks. - List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
On 11 October 2017 at 14:45, Cassiano Peixoto <peixotocassiano@gmail.com> wrote: - List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
participants (3)
-
Alan Buxey -
Alan DeKok -
Cassiano Peixoto