This is fixed in the next patch release.
Which is coming out today.

James Rouzier
[email protected] :: +1.514.755.3630  ::  http://www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://www.packetfence.org)

On 2013-08-12 11:42 AM, Sallee, Stephen (Jake) wrote:
> ***UPDATE***
>
> Ok, so apparently 4.0.5 also did not like the register button on the normal 
> captive portal page.
>
> When anyone clicked the register button my users were getting:
>
> Can't use string ("2") as an ARRAY ref while "strict refs" is in use at 
> /usr/local/pf/lib/pf/web.pm line 582.
>
> After that I had to roll back to ver 4.0.4-2 and the captive portal works 
> again.  I just went into full production on Friday ... I think I'll stick 
> with 4.0.4.-2 for a bit : )
>
> Now I am off to test SMS reg again to make sure it is working. BRB
>
> Jake Sallee
> Godfather of Bandwidth
> System Engineer
> University of Mary Hardin-Baylor
>
> 900 College St.
> Belton, Texas
> 76513
>
> Fone: 254-295-4658
> Phax: 254-295-4221
>
> ________________________________________
> From: Sallee, Stephen (Jake) [[email protected]]
> Sent: Monday, August 12, 2013 10:21 AM
> To: [email protected]
> Subject: Re: [PacketFence-users] PF gone crazy
>
> ***UPDATE***
>
> Loius:  You are correct, there is an extra "i" in the method name!  I found 
> the following in the change log:
>
> ./ChangeLog:1781:    Added function getIfIndexiByNasPortId in MockedSwitch.pm 
> to pass test
>
> And in the file:  /usr/local/pf/lib/pf/SNMP/MockedSwitch.pm Line 2862
>
> There is:
>
> sub getIfIndexByNasPortId {
>      my ($this ) = @_;
>      return $FALSE;
> }
>
> So, the "i" is a typo for sure.  My fix works for now.  I will try to fix the 
> typo and try again in about an hour and a half.
>
>
> Jake Sallee
> Godfather of Bandwidth
> System Engineer
> University of Mary Hardin-Baylor
>
> 900 College St.
> Belton, Texas
> 76513
>
> Fone: 254-295-4658
> Phax: 254-295-4221
>
> ________________________________________
> From: Sallee, Stephen (Jake) [[email protected]]
> Sent: Monday, August 12, 2013 10:08 AM
> To: [email protected]
> Subject: Re: [PacketFence-users] PF gone crazy
>
> First: thank you for the rapid responses!
>
> I looked at the method that is failing:
>
> my $ssid;
> $port = $switch->getIfIndexiByNasPortId($nas_port_id) || 
> $this->_translateNasPortToIfIndex($connection_type, $switch, $port);
> if (($connection_type & $WIRELESS) == $WIRELESS) {
>      $ssid = $switch->extractSsid($radius_request);
>      $logger->debug("SSID resolved to: $ssid") if (defined($ssid));
> }
>
> I did a search on the failing method and could not find it in ANY of the 
> modules I am using (Xirrus, Cisco 2960, Cisco WLC 5500).
>
> I modified it to be the following:
>
> my $ssid;
> #    $port = $switch->getIfIndexiByNasPortId($nas_port_id) || 
> $this->_translateNasPortToIfIndex($connection_type, $switch, $port);
> $port = $this->_translateNasPortToIfIndex($connection_type, $switch, $port);
> if (($connection_type & $WIRELESS) == $WIRELESS) {
>      $ssid = $switch->extractSsid($radius_request);
>      $logger->debug("SSID resolved to: $ssid") if (defined($ssid));
> }
>
> After a pf service restart my clients are able to get back on.  Now for a 
> post mortem to figure out what the heck happened.
>
> I very much appreciate the responsiveness of Inverse and the community.  Any 
> insights you can offer to this are most welcome.
> Jake Sallee
> Godfather of Bandwidth
> System Engineer
> University of Mary Hardin-Baylor
>
> 900 College St.
> Belton, Texas
> 76513
>
> Fone: 254-295-4658
> Phax: 254-295-4221
> ________________________________
> From: Louis Munro [[email protected]]
> Sent: Monday, August 12, 2013 9:55 AM
> To: [email protected]
> Subject: Re: [PacketFence-users] PF gone crazy
>
> Hi Jake,
> That method (or lack thereof) will be in the module for the switch, AP or 
> controller you are using.
> Which one are we talking about?
>
> Regards,
> --
> Louis Munro
> [email protected]<mailto:[email protected]>  ::  
> www.inverse.ca<http://www.inverse.ca>
> +1.514.447.4918 *125  :: +1 (866) 353-6153
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and 
> PacketFence (www.packetfence.org<http://www.packetfence.org>)
>
> On 2013-08-12, at 10:46 , "Sallee, Stephen (Jake)" 
> <[email protected]<mailto:[email protected]>> wrote:
>
> Need immediate assistance please!
>
> Apparently the upgrade to v4.0.5 borked something bec now my log is full of 
> this:
>
> FATAL: radius authorize failed with error: Can't locate object method 
> "getIfIndexiByNasPortId"
>
> And NONE of my users can get access to the network.
>
> I have checked the file /usr/local/pf/lib/pf/radius.pm and it looks the same 
> in 4.0.4-2 and 4.0.5 ... any help is greatly appreciated!
>
> Jake Sallee
> Godfather of Bandwidth
> System Engineer
> University of Mary Hardin-Baylor
>
> 900 College St.
> Belton, Texas
> 76513
>
> Fone: 254-295-4658
> Phax: 254-295-4221
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to