radsqlrelay: can't it just give up sometimes?
Phil Mayers
p.mayers at imperial.ac.uk
Wed Nov 6 18:23:10 CET 2013
On 06/11/13 16:57, Alan DeKok wrote:
> It shouldn't be hard. The main difficulty is figuring out the return
> code from $dbinfo->{handle}->do($query). It's possible, I just haven't
> looked.
I wonder if the Perl DBI/DBD drivers are consistent in this respect;
certainly in other languages it can be a real pig to distinguish between
server-side "query fail" and "other" (I'm looking at you, earlier
versions of libpq!)
But yes, this kind of approach is probably best.
More information about the Freeradius-Users
mailing list