MSCHAPv2 Module with Stripped-Username - no ActiveDirectory

Philemon Jaomalaza philemon.jaomalaza at gmail.com
Thu Nov 15 22:20:39 CET 2018


Hello,
I use freeradius 3 + SQL.

I have some issues on sqlcounter. It's doesn't work when there is a periodical count.

Exemple :
sqlcounter dailycounter {
        sql_module_instance = sql
        dialect = ${modules.sql.dialect}

        counter_name = Daily-Session-Time
        check_name = Max-Daily-Session
        reply_name = Session-Timeout
        key = User-Name
        reset = daily

        $INCLUDE ${modconfdir}/sql/counter/${dialect}/${.:instance}.conf
}

It works on the first connexion and stop after the fixed period but it can connect again on the same day.
There is the same issues for reset = monthly, reset = hourly ...

While, all work fun if is not a periodical count, when the user is stoped it can't reconnect after expired values.

Can you help please ?

JMLZ



---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus




More information about the Freeradius-Users mailing list