[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: Problem with rlm_counter (FR3)
From:       Arran Cudbard-Bell <a.cudbardb () freeradius ! org>
Date:       2014-02-27 16:19:10
Message-ID: 3583C902-CF79-43E9-9304-D52148938B28 () freeradius ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

> Arran Cudbard-Bell wrote:
>> On 27 Feb 2014, at 15:07, Marco Marino <marino.mrc@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@freeradius.org>
FreeRADIUS Development Team

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


["signature.asc" (signature.asc)]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQIcBAEBAgAGBQJTD2V/AAoJEP+k1YKfttfKw/cP/jxlUlCh1wxGGUzx7SbNqtwk
pAnPW0UsmMeRUDuLYBgiZNU/ZeFottRbUanjUIpF/rBc/qSalWVS6a7c78hMVTtt
Wrde1OjUwq6IKbXpnYCCkmS5jFhtEFsGYxYMPpxc+tD2cePYkCAx3mnqh+8oO9CO
OT20uZpyE7Y8eZvVmv48eA+eNRjxr3jGzTB6bgzKeapig9Zxqacg/ZyTJWkzOrqs
WY4Dtcsx4a/T6+coNbIYETbQWzalG37xrICDgdV96SW2RWyMGzfc1IWt94Opcttj
uEMXwzUxW3gp1l/IvSsLp886K3PRaBjLpDBiazgIBzoLiqhJUVmdEyK9xGsuC21Z
Bpv23ytIDLclGqGWsl5aZ89LUqPpf1Wn+Z8AjKdGy82JKfGpN0fekTlIKXO5r/VR
vzXucScQ96FK4uOSrhbGeIUXOQyhJ8QryzqBM645yL4Y5oiODTfZQ3iWr7cW96aR
ptr8Jl26/QjyDr02AaodWQOJkhOvPktGfQOLMNOvhDkD0qEAIn648danOUh46Muh
zoGxRC7xTdVjVQz1sFKWraYtY298UKvCLmQ/e/VhzbZpxCRTxjoUd7diqXTzgVlh
nUM+kg2Hq0hs0BWXjKbCdl3GgNQ7U0Xql19R6C11qer2pnDpH8SynyAHqzoWuHXt
pWPp+qUPu+yyCxrOx1Uc
=n7Fb
-----END PGP SIGNATURE-----


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic