set and use internal comment variable

Alan DeKok aland at
Tue Apr 3 11:14:52 CEST 2012

PENZ Robert wrote:
> I've a setup where it is possible to deny a request at various places for different reasons. I use sql_log in post-auth to log the replies. It would now be nice to add a comment variable which I fill at the various stations, that can deny a request, so I know why a request was denied. How should I try to solve this? Or is there an even better way without a comment variable to do something like this?

  Sure.  Invent a local attribute.  See raddb/dictionary.

  Add a comment manually using that attribute.  See "man unlang" for how
to update/add attributes.

  Alan DeKok.

More information about the Freeradius-Users mailing list