Problem with rlm_counter (FR3)

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Feb 27 17:19:10 CET 2014


On 27 Feb 2014, at 16:06, Alan DeKok <aland at deployingradius.com> wrote:

> Arran Cudbard-Bell wrote:
>> On 27 Feb 2014, at 15:07, Marco Marino <marino.mrc at gmail.com> wrote:
>> 
>>> My radgroupreply has this row:
>>> 
>>> Users	 Session-Timeout	 =	 120
> 
>  Which might now work.  Setting timeouts to less than 5 minutes is
> probably a bad idea.
> 
>>> Operator is "=", so i think it is correct. Where i'm wrong?
>>> Thanks
>> 
>> *sigh* why are you setting in the SQL module? I guess rlm_counter
>> can trash the current value if you want, but it doesn't seem very 
>> friendly.
> 
>  The order of modules helps here.  I didn't read the debug output, but
> you could do something like:
> 
> 	sql 		set timeout to 600
> 	...
> 	counter		re-set timer to something else
> 

Ok, i'll switch the rlm_sqlcounter/rlm_counter operator over.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140227/1c924d67/attachment.pgp>


More information about the Freeradius-Users mailing list