Re: [FreeRadius] Help how do I make Expiration

Alan DeKok via Freeradius-Users <[email protected]>
Newsgroups gmane.comp.freeradius.user
Message-ID <[email protected]>
On Aug 20, 2025, at 9:31 AM, Horas Hajovan Siregar <[email protected]> wrote:
> Hello, I'm having a problem creating a user that, when logged in, will not be able to be used again for 1 hour after logging in.
> 
> I tried using session-timeout, but I can still log in for the next hour. I was hoping to prevent logging in again after 1 hour.

  Session-Timeout is only for one session.  If you want to limit total time across multiple sessions, see the sqlcounter module.

> I found sources from several articles using the Expiration attribute,

  Or you could look at the official FreeRADIUS documentation:   https://www.freeradius.org/documentation/freeradius-server/3.2.8/

> but I'm having a problem where it doesn't count as 1 hour after logging in.

   Is the NAS sending accounting packets?

> Please help.
> 
> I use freeradius
> 
> root@rad:~# freeradius -X
> FreeRADIUS Version 3.0.26
> Copyright (C) 1999-2021 The FreeRADIUS server project and contributors
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE

  I have no idea why you think posting that will be useful.  It's not.

  http://wiki.freeradius.org/list-help

  There is a huge amount of documentation on how to run the server and debug it.  It helps to read the docs.

  Alan DeKok.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.