Return Username to the Mikrotik

Alan DeKok aland at deployingradius.com
Thu Mar 17 15:57:18 UTC 2022


On Mar 17, 2022, at 10:58 AM, Muhammed Buvaydani via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> so when the user is connected to the wifi Mikrotik will send a mac address as a username, I am checking if the username is a mac address I am getting the username that belongs to that mac and do the rest of the authentication against the username(not the MAc)
> 
> so if the user has rights access to the internet I am sending accept 

  That's good.

> but Mikrotik saved the username as a mac address,  I tried to reply with the attribute: User-Name="user"
> 
> but it seems not working
> 
> are there any attributes or something that I can do that

  No.

  If the Mikrotik ignores the User-Name in the Access-Accept, there isn't much you can do.  Just do the MAC to User-Name lookup again when the server receives accounting packets.

  Alan DeKok.



More information about the Freeradius-Users mailing list