17 Mar
2022
17 Mar
'22
3:38 p.m.
On Mar 17, 2022, at 1:39 PM, mohamad buvaydanı <starking123eng@gmail.com> wrote:
Thanks for replying actually ı am returning the mac to the username in accounting packet but i want to do that for disconnect packet instead of sending disconnect packet to the mac i wanted tosend disconnect for username.
That's not how RADIUS works. If the session has the MAC for a User-Name, then CoA / disconnect packet MUST have the same MAC in the User-Name. You can store the MAC in the DB, associated with the User-Name. Then, if you want to kick off user "bob", look "bob" up in the DB to get the MAC, and then send the RADIUS CoA packet with the MAC in the User-Name. Alan DeKok.