Greetings FR-users, I've configured my linelog module as such: message { Access-Request = "%S Access Request from calling station %{Calling-Station-Id:-bar}" } but the logging fails: (0) linelog: ERROR: %S Access Request from calling station %{Calling-Station-Id:-bar} (0) linelog: ERROR: ^ Unknown module (0) [linelog] = fail According to the wiki, I feel like the above configuration should work: https://wiki.freeradius.org/config/run_time_variables#conditional-syntax Any ideas what I'm doing wrong? Thanks for the help! -m
On Dec 9, 2020, at 10:50 AM, Matt Zagrabelny via Freeradius-Users <freeradius-users@lists.freeradius.org> wrote:
Greetings FR-users,
I've configured my linelog module as such:
message { Access-Request = "%S Access Request from calling station %{Calling-Station-Id:-bar}" }
but the logging fails:
(0) linelog: ERROR: %S Access Request from calling station %{Calling-Station-Id:-bar} (0) linelog: ERROR: ^ Unknown module (0) [linelog] = fail
Yup.
According to the wiki, I feel like the above configuration should work:
https://wiki.freeradius.org/config/run_time_variables#conditional-syntax
Any ideas what I'm doing wrong?
The wiki is _way_ out of date. I've fixed it. See also "man unlang", which has the correct syntax: ...%{%{Calling-Station-Id}:-bar}" Alan DeKok.
On Wed, Dec 9, 2020 at 10:19 AM Alan DeKok <aland@deployingradius.com> wrote:
On Dec 9, 2020, at 10:50 AM, Matt Zagrabelny via Freeradius-Users < freeradius-users@lists.freeradius.org> wrote:
The wiki is _way_ out of date. I've fixed it.
ahh. See also "man unlang", which has the correct syntax:
Sure. I should have checked there. Thanks for the fast help and support! -m
participants (2)
-
Alan DeKok -
Matt Zagrabelny