Return Username to the Mikrotik

mohamad buvaydanı starking123eng at gmail.com
Thu Mar 17 17:39:04 UTC 2022


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.
Because ı have username auth and ip auth and mac auth

On Thu, Mar 17, 2022, 6:57 PM Alan DeKok <aland at deployingradius.com> wrote:

> 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.
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list