Catching errors in SQL xlat queries

Matthew Newton mcn4 at leicester.ac.uk
Fri May 27 04:14:43 CEST 2016


On Thu, May 26, 2016 at 09:13:51PM -0400, Arran Cudbard-Bell wrote:
> What could we usefully do with a failing string expansion?  I
> guess if it's in an update block and we make updates atomic,
> then the whole update block could fail.
> 
> If it's a module configuration item the module could fail...
> 
> Conditions are weird though.

Seems like a nasty hack, but create "xlat-Failure := <something>"?

I don't like it, but it's one way...

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list