From: Alan T. DeKok Date: Fri, 21 Apr 2017 17:26:51 +0000 (-0400) Subject: Patch from Jeff Gehlbach X-Git-Tag: release_3_0_14~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=498607deaea3f70b2e5ca92640d366d79ca5e8b7;p=thirdparty%2Ffreeradius-server.git Patch from Jeff Gehlbach The problem is that "radiusObject" is defined with an OBJECT-IDENTITY macro, but it needs to be done with OBJECT-TYPE (i.e. a leaf node) to be eligible for use in the OBJECTS clause of a NOTIFICATION-TYPE macro. I've gotten jsmiparser happy by making that change, declaring the object's syntax to be SNMP-FRAMEWORK-MIB::SnmpAdminString and setting its max-access to "accessible-for-notify". These changes are reflected in the attached version of the MIB definition. --- diff --git a/mibs/FREERADIUS-MGMT-MIB.mib b/mibs/FREERADIUS-MGMT-MIB.mib index a115711c636..8cb400921f2 100644 --- a/mibs/FREERADIUS-MGMT-MIB.mib +++ b/mibs/FREERADIUS-MGMT-MIB.mib @@ -5,7 +5,9 @@ IMPORTS OBJECT-IDENTITY FROM SNMPv2-SMI freeRadiusMgmt - FROM FREERADIUS-SMI; + FROM FREERADIUS-SMI + SnmpAdminString + FROM SNMP-FRAMEWORK-MIB; freeradiusObjects MODULE-IDENTITY LAST-UPDATED "200712170000Z" @@ -25,7 +27,9 @@ freeradiusObjects MODULE-IDENTITY "Generic objects used by notification MIBs" ::= { freeRadiusMgmt 1 } -radiusObject OBJECT-IDENTITY +radiusObject OBJECT-TYPE + SYNTAX SnmpAdminString + MAX-ACCESS accessible-for-notify STATUS current DESCRIPTION "A generic object"