radius: only mac filtering

All I want is mac filtering from my radius…
I just set up mysql and freeradius, and all I want is that if that user exist in mysql that user can connect

so this is how now it looks like

rad_recv: Access-Request packet from host 10.x.x.x:1024, id=54, length=86
Service-Type = Framed-User
NAS-Port-Id = “wlan1”
User-Name = “00:0C:xx:xx:xx:xx”
User-Password = “”
NAS-Identifier = “MikroTik”
NAS-IP-Address = 10.x.x.xx
rlm_sql (sql): Reserving sql socket id: 1
rlm_sql (sql): Released sql socket id: 1
rad_recv: Access-Request packet from host 10.x.x.xx:1024, id=54, length=86
Sending Access-Reject of id 54 to 10.x.x.xx:1024


but if I test it with NTradping and send pass same as mac adress I got access-accept

I tried not entering pass to mysql, but then I got

rlm_unix: Attribute “User-Password” is required for authentication.

ok…if somebody would need this, this is what you have to do

xx:xx:xx:xx:xx Auth-Type == Accept