SQL Counter Escape String !

Alan DeKok aland at deployingradius.com
Wed Mar 16 11:39:54 CET 2011


Suman Dash wrote:
>  Hi Alan,
> 
> Did you managed to look into the issue ?

  No.

> or maybe any hints on how to use DATETIME in Expiration instead of String ?

  Honestly, in 2.1.10, you can just write SELECT statements directly in
"unlang".

	update reply {
		Session-Timeout := "%{sql: SELECT ...}"
	}

  Couple that with a few other things, and you should be able to replace
the sqlcounter module entirely.

  i.e. I don't use that module, and I know little or nothing about it.
I have little time to do anything with it.

  Alan DeKok.



More information about the Freeradius-Users mailing list