On 03/16/2011 07:00 PM, freeradius-users-request@lists.freeradius.org wrote:
Send Freeradius-Users mailing list submissions to freeradius-users@lists.freeradius.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.freeradius.org/mailman/listinfo/freeradius-users or, via email, send a message with subject or body 'help' to freeradius-users-request@lists.freeradius.org
You can reach the person managing the list at freeradius-users-owner@lists.freeradius.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Freeradius-Users digest..."
Today's Topics:
1. Re: SQL Counter Escape String ! (Alan DeKok) 2. Re: SQL Counter Escape String ! (Suman Dash) 3. Re: freeradius failover-through proxy or other way? (Alan DeKok)
----------------------------------------------------------------------
Message: 1 Date: Wed, 16 Mar 2011 11:39:54 +0100 From: Alan DeKok<aland@deployingradius.com> Subject: Re: SQL Counter Escape String ! To: suman@clydontech.com, FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Message-ID:<4D80937A.5010808@deployingradius.com> Content-Type: text/plain; charset=ISO-8859-1
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.
------------------------------
Message: 2 Date: Wed, 16 Mar 2011 16:13:49 +0530 From: Suman Dash<suman@clydontech.com> Subject: Re: SQL Counter Escape String ! To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Message-ID:<4D809465.2050204@clydontech.com> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
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.