SQL Counter Escape String !

Suman Dash suman at clydontech.com
Wed Mar 16 11:43:49 CET 2011


Much thanks Alan,

That was some really good advice on how to make the thing work.

So now i have to write unlang statement in preprocess so that it 
directly gives the Session-Timeout . Please correct me if i am wrong.

Thanks Again
On 3/16/2011 4:09 PM, Alan DeKok wrote:
> 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.
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 5924 (20110303) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110316/6e29e23e/attachment.html>


More information about the Freeradius-Users mailing list