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

List:       freeradius-users
Subject:    Re: Dynamic session timeout
From:       Alan DeKok <aland () deployingradius ! com>
Date:       2018-10-31 17:31:20
Message-ID: 297669EA-B721-4C05-88A4-D8BCFAE2D6E3 () deployingradius ! com
[Download RAW message or body]

On Oct 31, 2018, at 1:08 AM, Sam T <givemesam@gmail.com> wrote:
> 
> Here is the debug output from the unlang you shared with me. Any extra
> direction would be greatly appreciated!
> 
> User-Password in the request is correct.
> Login OK: [22-22-22-22-22-11/password] (from client wificpa port 0)
> # Executing section post-auth from file
> /etc/freeradius/sites-enabled/wifirush.rad
> +- entering group post-auth {...}
> ++? if (reply:WISPr-Session-Terminate-Time)
> ? Evaluating (reply:WISPr-Session-Terminate-Time) -> TRUE
> ++? if (reply:WISPr-Session-Terminate-Time) -> TRUE
> ++- entering if (reply:WISPr-Session-Terminate-Time) {...}
>        expand: %{WISPr-Session-Terminate-Time} - %l ->  - 1540961491

   If WISPr-Session-Terminate-Time is in the reply, then the expansion should be:

	Session-Timeout := "%{expr:%{reply:WISPr-Session-Terminate-Time} - %l}"

  Alan DeKok.


-
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