I still have problems getting the “Mikrotik_Wireless_VLANID” and “Mikrotik_Wireless_VLANIDtype” recognized by RouterOS.
-
I have an Microsoft server which sends the user defined attributes / custom VSAs with "type 26 and type 27) to a freeradius server
-
On the freeradius within /etc/raddb/mods-config/attr_filter/post-proxy I added:
Mikrotik_Wireless_VLANID =* ANY,
Mikrotik_Wireless_VLANIDtype =* ANY
- Let´s look at the Access-Accept on the freeradius: cat /var/log/radius/radacct/…/post-proxy-detail-20160209
Tue Feb 9 08:58:53 2016
Packet-Type = Access-Accept
Proxy-State = 0x313839
Mikrotik_Wireless_VLANID = 743
Mikrotik_Wireless_VLANIDtype = 0
[...]
=> This looks fine. Freeradius recognizes the attributes.
\
- What does RouterOS receive:
received Access-Accept with id 189 from [...]
Unknown-Attribute(vendor=MT, type=26) = 0x000002e7
Unknown-Attribute(vendor=MT, type=27) = 0x00000000
Signatue = [...]
Framed-MTU = 1300
EAP-Message = [...]
MS-MPPE-Send-Key = [...]
MS-MPPE-Recv-Key = [...]
Message-Authenticator = [...]
=> Unknown attributes? Why doesn´t recognize RouterOS its own Mikrotik attributes at all? Do I have to import the dictionary file into RouterOS like I did on the freeradius server?