split an accounting attribute in two and write two new attributes to MySQL
xaled at web.de
xaled at web.de
Mon Feb 14 16:40:30 UTC 2022
Hi
I'm struggling with an apparently simple task of splitting an accounting
stop attribute Acct-Session-Id in two and writing two new values to MySQL
In preacct section of default config from sites enabled I added
Split-Session-ID = "%{explode:%{Acct-Session-Id} /}"
And immediately get error:
/etc/freeradius/3.0/sites-enabled/default[558]: Unknown action
'%{explode:%{Acct-Session-Id}/}'.
Expr module in enabled in mods-enabled
expr -> ../mods-available/expr
In mysql mapping config I added
'{%Split-Session-ID:1}', \
'{%Split-Session-ID:2}', \
As variables to be written to MySQL table.
Any help appreciated,
Xaled
More information about the Freeradius-Users
mailing list