How to log Access-Accept reply attributes/values in radpostauth sql

Arran Cudbard-Bell a.cudbardb at freeradius.org
Sat Aug 26 10:54:54 CEST 2017


> On 25 Aug 2017, at 22:56, Alan DeKok <aland at deployingradius.com> wrote:
> 
> On Aug 24, 2017, at 5:19 PM, James Wood <james.wood at purplewifi.com> wrote:
>> 
>> FR 3.0.13. Everything working perfectly, including SQL (mysql) for auth/acct
>> logging.
> 
>  It would be good to upgrade to 3.0.15, but that's fine..
> 
>> When a user authenticates, I would like to log any Access-Accept reply
>> attributes we've set to sql (radpostauth).

%{pairs:&reply:}

It’ll expand to <attribute> = <value>, for each pair in the list.

We might be able to do something with %{reply:[*]} in v4.0.x but there’s nothing like that in 3.0.x.

-Arran
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20170826/4f8d58ca/attachment.sig>


More information about the Freeradius-Users mailing list