PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001426PacketFencehardware modulespublic2012-04-17 14:372012-04-23 11:01
Reporterfgaudreault 
Assigned Toobilodeau 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiondevel 
Target Version3.3.2Fixed in Version3.3.2 
Summary0001426: RADIUS CoA Broken on WLC 5500
DescriptionWhen configuring CoA for the WLC 5500, I had this error :
DEBUG - instantiating new SwitchFactory object
DEBUG - reading config file /usr/local/pf/conf/switches.conf
DEBUG - creating new pf::SNMP::Cisco::WLC_5500 object
DEBUG - start handling 'deauthenticate' command
Odd number of elements in anonymous hash at /usr/local/pf/lib/pf/SNMP.pm line
    2615 (0000001)
    (W misc) You specified an odd number of elements to initialize a hash,
    which is odd, because hashes come in key/value pairs.
    
Use of uninitialized value in concatenation (.) or string at
    /usr/lib/perl5/vendor_perl/5.8.8/Net/Radius/Packet.pm line 391 (0000002)
    (W uninitialized) An undefined value was used as if it were already
    defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.
    
    To help you figure out what was undefined, perl tells you what operation
    you used the undefined value in. Note, however, that perl optimizes your
    program and the operation displayed in the warning may not necessarily
    appear literally in your program. For example, "that $foo" is
    usually optimized into "that " . $foo, and the warning will refer to
    the concatenation (.) operator, even though there is no . in your
    program.
    
Unknown RADIUS tuple HASH(0x1a57eed0) =>
 at /usr/local/pf/lib/pf/util/radius.pm line 131
WARN - Unable to perform RADIUS Disconnect-Request. Disconnect-NAK received with Error-Cause: Missing-Attribute.
DEBUG - finished handling 'deauthenticate' command

It appears to be related to the way we handle the additional attributes.
Additional InformationTo fix, change :
$attributes_ref = { %$attributes_ref, $add_attributes_ref };

To:
$attributes_ref = { %$attributes_ref, %$add_attributes_ref };
TagsNo tags attached.
fixed in git revision281279277cb8c9e792a016cede8b56c37f2c4454
fixed in mtn revision
Attached Files

- Relationships
related to 0001437closedobilodeau RADIUS-based Disconnects not working for Aruba, AeroHIVE 

-  Notes
(0002666)
obilodeau (reporter)
2012-04-18 16:35

This affects all CoA based hardware modules. Increasing priority.
(0002668)
obilodeau (reporter)
2012-04-19 11:24

fixed in stable with a regression test
(0002681)
obilodeau (reporter)
2012-04-23 11:01

fix released in 3.3.2

- Issue History
Date Modified Username Field Change
2012-04-17 14:37 fgaudreault New Issue
2012-04-18 16:34 obilodeau Status new => assigned
2012-04-18 16:34 obilodeau Assigned To => obilodeau
2012-04-18 16:35 obilodeau Note Added: 0002666
2012-04-18 16:35 obilodeau Priority normal => urgent
2012-04-18 16:35 obilodeau Severity minor => major
2012-04-19 11:24 obilodeau git revision => 281279277cb8c9e792a016cede8b56c37f2c4454
2012-04-19 11:24 obilodeau Note Added: 0002668
2012-04-19 11:24 obilodeau Status assigned => resolved
2012-04-19 11:24 obilodeau Fixed in Version => +1
2012-04-19 11:24 obilodeau Resolution open => fixed
2012-04-23 11:00 obilodeau Target Version => 3.3.2
2012-04-23 11:00 obilodeau Fixed in Version +1 => 3.3.2
2012-04-23 11:01 obilodeau Note Added: 0002681
2012-04-23 11:01 obilodeau Status resolved => closed
2012-04-30 13:42 obilodeau Relationship added related to 0001437


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker