Hello Rui,

in fact i would like to assign users in different vlan, with an automatic process.
If the user's last session is superior à 5 days, mysql does the update  of the radusergrouptable, it will change the user's groupname (A to B). At the resultat, freeradius will have to send to the nas a different radgroupreply (B parameters).

I use a trigger for it. It works, but i found an issue. Freeradius send to the NAS the old values of the radgrouprely (A parameters).

I will try to update ma version of freeradius and find some information about ulang.

Thank a lot for your help