Georgi Alexandrov <georgi.alexandrov@gmail.com> wrote:
If a user that somehow failed network connectivity and failed to tell the server "account stop" tries to reconnect back it won't let him because his previous session is stalled. I need a mechanism that will do a check upon connection if the session is stalled, delete it and let the user in or if there is already a real user logged in deny the connecting one. I read from the mailing lists that radzap should do the job but i can't seem to figure out how to integrate it in that setup (the man page explains only the syntax).
radzap calls radwho to query radutmp and generates an accounting stop message. You can query your SQL database and generate accounting stop messages, too. Alan DeKok.