Bug 1173388

Summary: dictionary.mikrotik missing Attributes
Product: Red Hat Enterprise Linux 6 Reporter: David Beveridge <dave>
Component: freeradiusAssignee: Nikolai Kondrashov <nikolai.kondrashov>
Status: CLOSED ERRATA QA Contact: Jaroslav Aster <jaster>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.7CC: dpal, jaster, nikolai.kondrashov, pkis
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: freeradius-2.2.6-1.el6 Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-22 06:16:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Dictionary File for Mikrotik Router none

Description David Beveridge 2014-12-12 02:57:26 UTC
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):


How reproducible:
I upgraded my freeradius server via yum and the file
/usr/share/freeradius/dictionary.mikrotik
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
2.
3.

Actual results:


Expected results:


Additional info:
I recommend updating the redhat rpms to include this file instead
https://github.com/FreeRADIUS/freeradius-server/blob/master/share/dictionary.mikrotik 
or see/use attached file.

Comment 10 errata-xmlrpc 2015-07-22 06:16:58 UTC
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.

https://rhn.redhat.com/errata/RHSA-2015-1287.html