Recording post auth sql data

Franks Andy (RLZ) IT Systems Engineer Andy.Franks at
Tue Aug 21 15:46:12 CEST 2012

Ok, schoolboy error there! Thanks guys.
Whilst on the subject, is it possible (in theory) to write different
INSERT statements dependent on, for example, whether the post-auth
section is based on having accepted or rejected the user. The sql
modules named in the default virtual server file link through to a
single post-auth section in dialup.conf with the insert statement, but
is there any way of telling the module to link to a different insert
statement? Or does all that not make any sense!?

-----Original Message-----
From: at
[ at lists.freeradiu] On Behalf Of Matthew Newton
Sent: 21 August 2012 14:21
To: FreeRadius users mailing list
Subject: Re: Recording post auth sql data

On Tue, Aug 21, 2012 at 01:33:00PM +0100, Franks Andy (RLZ) IT Systems
Engineer wrote:
> got into yet. I'd quite like to record the attribute ClientShortname
> referred to by the clients.conf file, but expansion of
> '%{request:Client-Short-Name}' didn't seem to work - blank string.

Looking at dictionary.freeradius.internal (and xlat.c) - try


Matthew Newton, Ph.D. <mcn4 at>

Systems Architect (UNIX and Networks), Network Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United

For IT help contact helpdesk extn. 2253, <ithelp at>
List info/subscribe/unsubscribe? See

More information about the Freeradius-Users mailing list