[prev in list] [next in list] [prev in thread] [next in thread]
List: freeradius-users
Subject: Re: Use Max-Daily-Session But Timeout Session every 30mins if limit not reached
From: Uchenna Nebedum <nebeduch () gmail ! com>
Date: 2018-07-22 15:28:43
Message-ID: CAHgpA+L=n=j61ktY1vXKvm5OrYjcp7vDPGVH7GrBaOhLFHcV+A () mail ! gmail ! com
[Download RAW message or body]
Thanks Alan, Did it and it worked, also happened to read in the conf, where
it was stated to put all unlang in the post-auth. Thanks Again.
Uchenna Nebedum
On Fri, Jul 20, 2018, 08:56 Uchenna Nebedum <nebeduch@gmail.com> wrote:
> Thanks a lot for the help Alan, From what i understand i should add the
> unlang in the postauth section rather than immediately after dailycounter
> right?.
>
> Uchenna Nebedum
>
> On Thu, Jul 19, 2018, 14:27 Alan DeKok <aland@deployingradius.com> wrote:
>
>> On Jul 19, 2018, at 2:50 AM, Uchenna Nebedum <nebeduch@gmail.com> wrote:
>> > I am using dailycounter for Max-Daily-Session but i still want to
>> timeout
>> > user session every 30mins till Max-Daily-Session reached. A way i
>> thought
>> > to achieve this would be to add unlang after dailycounter in the conf,
>> > something like
>> >
>> > (if reply Session-Timeout > 1800){ Session-Timeout := 1800 }
>>
>> Yes, something like that will work.
>>
>> > I'm not sure if this method would work and not sure of the implications.
>> > Not too sure of what the unlang should look like. Please any help would
>> be
>> > greatly appreciated.
>>
>> $ man unlang
>>
>> Look for "enforcement and filtering"
>>
>> and read the dozens of examples in the config files. It's not
>> difficult.
>>
>> post-auth {
>> ...
>> update reply {
>> Session-Timeout <= 1800
>> }
>> ...
>> }
>>
>> Alan DeKok.
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>
>
-
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