Defining multiple post-auth INSERT queries for the same table

Phil Mayers p.mayers at imperial.ac.uk
Thu May 18 14:25:53 CEST 2017


On 18/05/17 13:19, Stefan Paetow wrote:
>> AFAICT you can't do this. The code doesn't seem to support it,
>> unless I'm mistaken - the postauth handler uses the
>> acct_redundant() function in rlm_sql.c but that function seems to
>> return if a query succeeded and touched >0 rows, unless
>> RLM_SQL_ALT_QUERY (constraint violation) is returned.
> 
> Thanks for the clarification, Phil. :-)

Well, it's a sort of educated guess/assumption.


More information about the Freeradius-Users mailing list