<div dir="ltr"> Hello,<div><br></div><div>sorry Alan, I give you the informations that you want.<br><div><br></div><div>i created one table in my radius database. if the reply on radpostauth is like Access-Accept.</div><div>the table store the username and the authdate.</div><div><br></div><div>I added a trigger which it run each time, when a username tries to log on.</div><div><br></div><div>the trigger makes a diff between the authdate.rapostauth and the authdate.newtable of the user.</div><div><br></div><div>if the date is up to 20 days, the trigger add/modify the groupname.radusergroup of the user.</div><div>at he result the radgroupreply should be different.</div><div><br></div><div>but in my case, it's different, the add/update works very well, but this are the last parameters before the modification of the radusergroup table which are sent</div><div><br></div><div>radgroupreply table,</div><div><div>| id | groupname           | attribute               | op | value                                                                                                                         |</div><div>|  1 | safe      | Tunnel-type             | =  | 13                                                                                                                            |<br></div><div>|  2 |safe       | Tunnel-Medium-Type      | =  | 6                                                                                                                             |</div><div>|  3 | safe      | Tunnel-Private-Group-ID | =  | 7                                                                                                                           |                                      </div><div>|  5 | no-safe | Tunnel-type             | =  | 13                                                                                                                            |</div><div>|  6 | no-safe | Tunnel-Medium-Type      | =  | 6                                                                                                                             |</div><div>|  7 | no-safe | Tunnel-Private-Group-ID | =  | 8  </div></div><div><br></div><div>before</div><div>radusergroup;</div><div>username :toto | groupname: safe | priority: 1</div><div><br></div><div><div>last Access-Accept > 20 days</div></div><div><div>radusergroup;</div><div>username :toto | groupname: no-safe | priority: 1</div></div><div><br></div><div>radgroupreply safe instead of no-safe.</div><div><br></div><div>i hope that i answer at yours last questions<br></div></div></div>