Wesley Spadola <wspadola@porchlight.ca> wrote:
I was wondering if it is possible to modify the accounting queries to accept our own Vendor Specific Attributes.
Yes. That's why they're text.
my thinking was that if most of the attributes get %{} "escaped" and turned into "variables" that are inserted and modified, that VSAs would too. Upon some testing, at least in my case, I have found that this isn't true.
No... they don't get "escaped". Read doc/variables.txt. The %{} syntax tells the server to replace %{foo} with the VALUE of attribute "foo".
I find that the NAS sends many Vendor-Specific lines that dictionary.ascend contains and FreeRADIUS therefore decodes, but I am stumped as to how to include these in our queries.
Edit the queries to include the names of the VSA's. Read the documentation. Alan DeKok.