Re: Help with Configuration

Alan DeKok via Freeradius-Users <[email protected]> Mon, 24 Nov 2025 13:37:29 -0500
Newsgroups gmane.comp.freeradius.user
Message-ID <[email protected]>
On Nov 24, 2025, at 10:21 AM, Alexandre Le Noir <[email protected]> wrote:
> I have two problems that I want to solve.
> 
> 1- There is a duplicate in Radacct with acctstoptime null, knowing that I
> linked the free radius with the microtech.

 The sessions are different.  See the rest of the fields in the radacct table.

> 2- Users are located in users.
> 
> They have a username that matches the username in Radacct and they have an
> expiration date.

 You can always use SQL queries to close one of the sessions.

> If the expiration date has passed, I want them to be disconnected from the
> service with coa or without, but I tried Chatgpt solutions and they did not
> work.

 See sites-available/coa-relay

 That's a virtual server which makes it easy to disconnect users.  You will need to follow the instructions in the comments in that file, but it should work.

 Alan DeKok.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEIUl02elqcIsf1zM0v3SJ0h7dTTMFAmkkpekACgkQv3SJ0h7d
TTMgeQ//WzmlDueN2vrDQdYiK7oHUDz9+1/ERUwkv4uBlti1Vsjvei7MhCCW2Dnc
2xnXEuJi3XQyrvsoiSDoCzY1YE3ZtOBAvqrHc5LGoaTFBBJm6QgrbbVkVu3amxkM
dyOS7Y6B4qYPJRHVKWcxbdTInCsHOBxk1uLZsJAV8jsSpIwgbWmKjPfm6blE+mwI
iH1E8O/0gF3bs4OYBjLqNX7PwLFHQqpobvfGGdWTo3b0gz2kZDisvCupnZJqw1Ml
/WWAtOWYvbbaCz/bhj3BmQA+ss1WluREPpKBtn1SeQjIWPf49n4uK7FEMrdV0VUS
8IpdJrYkrehu5b6zm+yIR12FA0I4Rb057qnuURhsK9JOlFIrzvvafMrYv0QJSKSp
zSNScTEmGE21yvBssxLS8g20Gys5CE3BnETGDE98PBN5EFQ1DMZfjMGBKDGYAgwG
34mw2M26nuYu5C9motIrs6SqF3f66ZYBAOwPUG0zD8Vm3KiJY68RETpn4ULr190Y
QmgCsmrFhD2ICCd9EKfDaJCMVAwvG3tVgf/wE3Ze6CsAfFJzwk2omyMe4fBJy3cg
KQ7hZManr8W2BMRc1Vxut5vJW5ThnSFZebUaE6nCCizCrzvOurWUMW+lMGEPFuLv
+EQ7Jq1XR8QXsZVrJtEgumTSbFjkXe/qQ+H0zFU5JGfUugvpf5U=
=NEa4
-----END PGP SIGNATURE-----