Prior to this update, radiusd failed to work with some of the more recent MikroTIK attributes, because the installed directory.mikrotik file did not include them. This update adds MikroTIK attributes with IDs up to 22 to dictionary.mikrotik, and radiusd now works as expected with these attributes.
Created attachment 967476 [details]
Dictionary File for Mikrotik Router
Description of problem:
Fri Dec 12 08:29:51 2014 : Error: rlm_sql: Failed to create the pair: Unknown attribute "Mikrotik-Total-Limit" requires a hex string, not "538696814"
Turns out these attributes are missing from the file
ATTRIBUTE Mikrotik-Wireless-PSK 16 string
ATTRIBUTE Mikrotik-Total-Limit 17 integer
ATTRIBUTE Mikrotik-Total-Limit-Gigawords 18 integer
ATTRIBUTE Mikrotik-Address-List 19 string
ATTRIBUTE Mikrotik-Wireless-MPKey 20 string
ATTRIBUTE Mikrotik-Wireless-Comment 21 string
ATTRIBUTE Mikrotik-Delegated-IPv6-Pool 22 string
Version-Release number of selected component (if applicable):
I upgraded my freeradius server via yum and the file
was replaced by the one in the RPM update.
I had previously supplied my own dictionary.mikrotik file.
Steps to Reproduce:
1. Attempt to use a missing ATTRIBUTE
I recommend updating the redhat rpms to include this file instead
or see/use attached file.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.