Dear All,

I am trying to setup packetfence 5.0.0 in the inline mode on Debian 7.0. The 
system seems to be running, however, WiFi clients are not able to get network  
access using the normal procedure.
After passing authentication (Active Directory is used), the users see the 
message "your network access is being established", then for a few seconds 
message "Cannot detect network connectivity" is displayed, and finally they see 
" Caught exception in captiveportal::Controller::CaptivePortal->unknownState 
"Can't call method "supportsWebFormRegistration" without a package or object 
reference at 
/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/Controller/CaptivePortal.pm
 line 366".  

The administrative interface shows that the computer is registered.  Executing 
ipconfig /renew on a user computer or restarting packetfence daemons on the 
server  causes users to get network access. 

packetfence.log contains the following messages:

Apr 20 22:37:17 httpd.portal(4717) INFO: [staff] Authentication successful for 
user@domain (pf::Authentication::Source::LDAPSource::authenticate)
Apr 20 22:37:17 httpd.portal(4717) INFO: Authentication successful for 
user@domain in source staff (AD) (pf::authentication::authenticate)
Apr 20 22:37:17 httpd.portal(4717) INFO: [staff staff] Found a match 
(CN=something) (pf::Authentication::Source::LDAPSource::match_in_subclass)
Apr 20 22:37:17 httpd.portal(4717) INFO: Matched rule (staff) in source staff, 
returning actions. (pf::Authentication::Source::match)
Apr 20 22:37:17 httpd.portal(4717) INFO: [staff staff] Found a match (CN= 
something) (pf::Authentication::Source::LDAPSource::match_in_subclass)
Apr 20 22:37:17 httpd.portal(4717) INFO: Matched rule (staff) in source staff, 
returning actions. (pf::Authentication::Source::match)
Apr 20 22:37:17 httpd.portal(4717) WARN: Can't find provisioner for 
d0:7e:35:11:95:5e since we don't have it's OS 
(pf::Portal::Profile::findProvisioner)
Apr 20 22:37:17 httpd.portal(4717) WARN: Can't find provisioner for 
d0:7e:35:11:95:5e since we don't have it's OS 
(pf::Portal::Profile::findProvisioner)
Apr 20 22:37:17 httpd.portal(4717) ERROR: WARNING ! Unknown switch(es) 10.0.4.3 
(pf::SwitchFactory::instantiate)
Apr 20 22:37:17 httpd.portal(4717) WARN: Can't find provisioner for 
d0:7e:35:11:95:5e since we don't have it's OS 
(pf::Portal::Profile::findProvisioner)
Apr 20 22:37:17 httpd.portal(4701) INFO: Matched IP '10.0.4.138' to MAC address 
'd0:7e:35:11:95:5e' using OMAPI (pf::iplog::ip2mac)
Apr 20 22:37:17 httpd.portal(4701) ERROR: Error while setting locale to 
en_US.utf8. Is the locale generated on your system? 
(captiveportal::PacketFence::Controller::Root::setupLanguage)
Apr 20 22:37:19 httpd.portal(4699) INFO: Matched IP '10.0.4.138' to MAC address 
'd0:7e:35:11:95:5e' using OMAPI (pf::iplog::ip2mac)
Apr 20 22:37:26 httpd.portal(4715) INFO: Matched IP '10.0.4.138' to MAC address 
'd0:7e:35:11:95:5e' using OMAPI (pf::iplog::ip2mac)
Apr 20 22:37:26 httpd.portal(4715) ERROR: Error while setting locale to 
en_US.utf8. Is the locale generated on your system? 
(captiveportal::PacketFence::Controller::Root::setupLanguage)
Apr 20 22:37:26 httpd.portal(4715) INFO: [d0:7e:35:11:95:5e] Updating node 
user_agent with useragent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; 
MATP; MATP; TAJB; rv:11.0) like Gecko' 
(captiveportal::PacketFence::Controller::CaptivePortal::nodeRecordUserAgent)
Apr 20 22:37:26 httpd.portal(4715) INFO: Static User-Agent lookup data 
initialized (pf::useragent::_init)
Apr 20 22:37:26 httpd.portal(4715) WARN: Unable to perform a Fingerbank lookup 
for device with MAC address 'd0:7e:35:11:95:5e' (pf::fingerbank::process)
Apr 20 22:37:26 httpd.portal(4715) INFO: [d0:7e:35:11:95:5e] shouldn't reach 
here. Calling access re-evaluation. Make sure your network device configuration 
is correct. 
(captiveportal::PacketFence::Controller::CaptivePortal::unknownState)
Apr 20 22:37:26 httpd.portal(4715) ERROR: WARNING ! Unknown switch(es) 10.0.4.3 
(pf::SwitchFactory::instantiate)
Apr 20 22:37:26 httpd.portal(4715) ERROR: Caught exception in 
captiveportal::Controller::CaptivePortal->unknownState "Can't call method 
"supportsWebFormRegistration" without a package or object reference at 
/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/Controller/CaptivePortal.pm
 line 366." (captiveportal::PacketFence::Controller::Root::end)

The server is configured with two NICs. 10.0.4.3 is the IP address of the 
internal interface of the server (configured for Inline Layer 2). The second 
NIC, which points to the global network, is designated as management interface.
IP forwarding is enabled, NAT is disabled. 

I would highly appreciate any help in resolving this issue.


With best regards,
P. Trifonov




------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to