This helped.
pfcmd cache httpd.portal clear
Fra: Durand fabrice [mailto:[email protected]]
Sendt: 30. marts 2017 01:38
Til: [email protected]
Emne: Re: [PacketFence-users] Device locked to deleted provisioner?!?
Hi Jes,
it's probably a cache issue, have a look at "pfcmd cache" cli command
Regards
Fabrice
Le 2017-03-28 à 06:44, Jes Kasper Klittum a écrit :
Hey guys,
I tried adding an ios provisioner to my default registration policy, to see if
I would be able to automatically add my iPhone to a secure SSID after
registering on an open SSID. This failed, as the provisioner loaded before the
device was even registered and failed because of this, but now I have deleted
the darned provisioner from ALL my portal profiles and I have removed the
profile from my iPhone as well. I even tried deleting the provisioner entirely
from Packetfence, as well as "forgetting" the wifi on my phone, and hard
resetting it. I also tried deleting the references to my iPhone from the node
and node_useragent table in MySQL. However, no matter what I do, PF is not VERY
stern on the fact that I should be using a provisioner. How in the world do I
get rid of that again?
Packetfence log:
Mar 28 12:31:55 httpd.aaa(25277) INFO: [mac:20:3c:ae:e2:95:12] handling radius
autz request: from switch_ip => (xx.xx.xx.xx), connection_type =>
Wireless-802.11-NoEAP,switch_mac => (00:1c:57:42:1c:d0), mac =>
[20:3c:ae:e2:95:12], port => 1, username => "203caee29512", ssid => MyOpenSSID
(pf::radius::authorize)
Mar 28 12:31:55 httpd.aaa(25277) INFO: [mac:20:3c:ae:e2:95:12] Instantiate
profile Wireless-Guest (pf::Portal::ProfileFactory::_from_profile)
Mar 28 12:31:55 httpd.aaa(25277) INFO: [mac:20:3c:ae:e2:95:12] is of status
unreg; belongs into registration VLAN (pf::role::getRegistrationRole)
Mar 28 12:31:55 httpd.aaa(25277) INFO: [mac:20:3c:ae:e2:95:12] (xx.xx.xx.xx)
Added VLAN 102 to the returned RADIUS Access-Accept
(pf::Switch::returnRadiusAccessAccept)
Mar 28 12:31:59 httpd.portal(25772) INFO: [mac:20:3c:ae:e2:95:12] Instantiate
profile Wireless-Guest (pf::Portal::ProfileFactory::_from_profile)
Mar 28 12:31:59 httpd.portal(25772) INFO: [mac:20:3c:ae:e2:95:12] Instantiate
profile Wireless-Guest (pf::Portal::ProfileFactory::_from_profile)
Mar 28 12:32:00 httpd.portal(25772) INFO: [mac:20:3c:ae:e2:95:12] Updating node
user_agent with useragent: 'CaptiveNetworkSupport-346 wispr'
(captiveportal::PacketFence::DynamicRouting::Application::process_user_agent)
Mar 28 12:32:00 httpd.portal(25772) INFO: [mac:20:3c:ae:e2:95:12] Found
provisioner ios for 20:3c:ae:e2:95:12
(captiveportal::PacketFence::DynamicRouting::Module::Provisioning::execute_child)
Mar 28 12:32:00 httpd.portal(25775) INFO: [mac:20:3c:ae:e2:95:12] Instantiate
profile Wireless-Guest (pf::Portal::ProfileFactory::_from_profile)
Mar 28 12:32:00 httpd.portal(25775) INFO: [mac:20:3c:ae:e2:95:12] Instantiate
profile Wireless-Guest (pf::Portal::ProfileFactory::_from_profile)
Mar 28 12:32:00 httpd.portal(25775) INFO: [mac:20:3c:ae:e2:95:12] Updating node
user_agent with useragent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 10_2_1 like Mac
OS X) AppleWebKit/602.4.6 (KHTML, like Gecko) Mobile/14D27'
(captiveportal::PacketFence::DynamicRouting::Application::process_user_agent)
Mar 28 12:32:00 httpd.portal(25775) INFO: [mac:20:3c:ae:e2:95:12] Static
User-Agent lookup data initialized (pf::useragent::_init)
Mar 28 12:32:01 httpd.portal(25775) INFO: [mac:20:3c:ae:e2:95:12] Found
provisioner ios for 20:3c:ae:e2:95:12
(captiveportal::PacketFence::DynamicRouting::Module::Provisioning::execute_child)
Mar 28 12:32:01 httpd.portal(25772) INFO: [mac:20:3c:ae:e2:95:12] Instantiate
profile Wireless-Guest (pf::Portal::ProfileFactory::_from_profile)
Mar 28 12:32:01 httpd.portal(25772) INFO: [mac:20:3c:ae:e2:95:12] Instantiate
profile Wireless-Guest (pf::Portal::ProfileFactory::_from_profile)
Mar 28 12:32:01 httpd.portal(25771) INFO: [mac:20:3c:ae:e2:95:12] Instantiate
profile Wireless-Guest (pf::Portal::ProfileFactory::_from_profile)
Mar 28 12:32:01 httpd.portal(25771) INFO: [mac:20:3c:ae:e2:95:12] Instantiate
profile Wireless-Guest (pf::Portal::ProfileFactory::_from_profile)
Mar 28 12:32:01 httpd.portal(25772) INFO: [mac:20:3c:ae:e2:95:12] Updating node
user_agent with useragent: 'CaptiveNetworkSupport-346 wispr'
(captiveportal::PacketFence::DynamicRouting::Application::process_user_agent)
Mar 28 12:32:01 httpd.portal(25772) INFO: [mac:20:3c:ae:e2:95:12] Found
provisioner ios for 20:3c:ae:e2:95:12
(captiveportal::PacketFence::DynamicRouting::Module::Provisioning::execute_child)
Mar 28 12:32:01 httpd.portal(25771) INFO: [mac:20:3c:ae:e2:95:12] Updating node
user_agent with useragent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 10_2_1 like Mac
OS X) AppleWebKit/602.4.6 (KHTML, like Gecko) Mobile/14D27'
(captiveportal::PacketFence::DynamicRouting::Application::process_user_agent)
Mar 28 12:32:01 httpd.portal(25771) INFO: [mac:20:3c:ae:e2:95:12] Static
User-Agent lookup data initialized (pf::useragent::_init)
This my profile:
[default]
logo=/common/logo_brown_150.png
redirecturl=http://www.mypage.com
always_use_redirecturl=enabled
locale=
root_module=MyCustom-policy
dot1x_recompute_role_from_portal=0
sources=My-Computers,My-Users,sponsor
[Wireless-Guest]
filter=connection_type:Wireless-802.11-NoEAP
description=Wireless guest portal
sources=sponsor,my-users-guest,myother-users-guest,My-Computers
access_registration_when_registered=enabled
nbregpages=1
locale=en_US,en_US
As you see, no provisioners are defined on the default or the wireless guest
profile....
Br,
Jes
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users