On 10 Feb 2016, at 06:18, Alan DeKok <aland@deployingradius.com> wrote:
On Feb 10, 2016, at 4:21 AM, Stefan Winter <stefan.winter@restena.lu> wrote:
this here is shown on startup:
"raddb/clients/staff[232]: The item 'staff_type' is defined, but is unused by the configuration"
That should probably be moved to just a debug message.
But then people will ignore them :(
But it's not correct... yes, I set a custom attribute staff_type inside a client {} there, but I *do* use it in configuration, in statements like this:
update request { &RESTENA-Service-Type = "Staff-%{client:staff_type}" }
Hmm... I see. The difficulty is that there's no "parse" callback for the dynamic expansions. as in "Here's some text, is it correct?"
That would be needed in order to fix this issue.
Yeah, we'd need something similar to what we have for the map proc stuff. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2