Hi Nicolas,

Selecting the profile 'Wireless_MAC', opening the preview, clicking through to 
username/password and then entering the credentials for a user account that 
does not exist in Packet Fence works perfectly. I get the message that access 
was granted and the user account is created as expected.

I deleted the 00:11:22:33:44:55 node, as well as the 'exam' test user and could 
successfully register via the portal when connecting via MAC based 
authentication via a mobile device as well.


Herewith the logs when I did the preview of the MAC based authentication 
profile:
Jun 25 00:35:44 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:unknown] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:44 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:unknown] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found authentication source(s) : 
'companyad_users' for realm 'null' 
(pf::config::util::filter_authentication_sources)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Authenticating user using sources : 
companyad_users 
(captiveportal::PacketFence::DynamicRouting::Module::Authentication::Login::authenticate)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] [companyad_users] Authentication successful for 
exam (pf::Authentication::Source::LDAPSource::authenticate)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Authentication successful for exam in source 
companyad_users (AD) (pf::authentication::authenticate)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] person exam added (pf::person::person_add)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Successfully authenticated exam 
(captiveportal::PacketFence::DynamicRouting::Module::Authentication::Login::authenticate)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Calling match with empty/invalid rule class. 
Defaulting to 'authentication' (pf::authentication::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Using sources companyad_users for matching 
(pf::authentication::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] [companyad_users staff] Searching for 
(&(sAMAccountName=exam)(memberOf=CN=company,OU=Company,OU=Security 
Groups,OU=Company,DC=ad,DC=company,DC=com)), from 
OU=Users,OU=Company,DC=ad,DC=company,DC=com, with scope sub 
(pf::Authentication::Source::LDAPSource::match_in_subclass)
Jun 25 00:35:45 packetfence2 pfqueue: pfqueue(18474) INFO: [mac:unknown] User: 
'exam' found in the directory 
(pf::Authentication::Source::LDAPSource::search_attributes_in_subclass)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Matched rule (staff) in source companyad_users, 
returning actions. (pf::Authentication::Source::match_rule)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Matched rule (staff) in source companyad_users, 
returning actions. (pf::Authentication::Source::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 pfqueue: pfqueue(18474) INFO: [mac:unknown] 
Successfully did a person lookup for exam (pf::lookup::person::lookup_person)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Calling match with empty/invalid rule class. 
Defaulting to 'authentication' (pf::authentication::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Using sources companyad_users for matching 
(pf::authentication::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Calling match with empty/invalid rule class. 
Defaulting to 'authentication' (pf::authentication::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Using sources companyad_users for matching 
(pf::authentication::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] [companyad_users staff] Searching for 
(&(sAMAccountName=exam)(memberOf=CN=company,OU=Company,OU=Security 
Groups,OU=Company,DC=ad,DC=company,DC=com)), from 
OU=Users,OU=Company,DC=ad,DC=company,DC=com, with scope sub 
(pf::Authentication::Source::LDAPSource::match_in_subclass)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found authentication source(s) : 
'companyad_users' for realm 'null' 
(pf::config::util::filter_authentication_sources)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Authenticating user using sources : 
companyad_users 
(captiveportal::PacketFence::DynamicRouting::Module::Authentication::Login::authenticate)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] [companyad_users] Authentication successful for 
exam (pf::Authentication::Source::LDAPSource::authenticate)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Authentication successful for exam in source 
companyad_users (AD) (pf::authentication::authenticate)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] person exam added (pf::person::person_add)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Successfully authenticated exam 
(captiveportal::PacketFence::DynamicRouting::Module::Authentication::Login::authenticate)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Calling match with empty/invalid rule class. 
Defaulting to 'authentication' (pf::authentication::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Using sources companyad_users for matching 
(pf::authentication::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] [companyad_users staff] Searching for 
(&(sAMAccountName=exam)(memberOf=CN=company,OU=Company,OU=Security 
Groups,OU=Company,DC=ad,DC=company,DC=com)), from 
OU=Users,OU=Company,DC=ad,DC=company,DC=com, with scope sub 
(pf::Authentication::Source::LDAPSource::match_in_subclass)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Matched rule (staff) in source companyad_users, 
returning actions. (pf::Authentication::Source::match_rule)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Matched rule (staff) in source companyad_users, 
returning actions. (pf::Authentication::Source::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Calling match with empty/invalid rule class. 
Defaulting to 'authentication' (pf::authentication::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Using sources companyad_users for matching 
(pf::authentication::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Calling match with empty/invalid rule class. 
Defaulting to 'authentication' (pf::authentication::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Using sources companyad_users for matching 
(pf::authentication::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] [companyad_users staff] Searching for 
(&(sAMAccountName=exam)(memberOf=CN=company,OU=Company,OU=Security 
Groups,OU=Company,DC=ad,DC=company,DC=com)), from 
OU=Users,OU=Company,DC=ad,DC=company,DC=com, with scope sub 
(pf::Authentication::Source::LDAPSource::match_in_subclass)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Matched rule (staff) in source companyad_users, 
returning actions. (pf::Authentication::Source::match_rule)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Matched rule (staff) in source companyad_users, 
returning actions. (pf::Authentication::Source::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Matched rule (staff) in source companyad_users, 
returning actions. (pf::Authentication::Source::match_rule)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Matched rule (staff) in source companyad_users, 
returning actions. (pf::Authentication::Source::match)
Jun 25 00:35:45 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:45 packetfence2 pfqueue: pfqueue(18474) INFO: [mac:unknown] User: 
'exam' found in the directory 
(pf::Authentication::Source::LDAPSource::search_attributes_in_subclass)
Jun 25 00:35:45 packetfence2 pfqueue: pfqueue(18474) INFO: [mac:unknown] 
Successfully did a person lookup for exam (pf::lookup::person::lookup_person)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Calling match with empty/invalid rule class. 
Defaulting to 'authentication' (pf::authentication::match)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Using sources companyad_users for matching 
(pf::authentication::match)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(18894) 
WARN: [mac:unknown] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(18894) 
WARN: [mac:00:11:22:33:44:55] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Calling match with empty/invalid rule class. 
Defaulting to 'authentication' (pf::authentication::match)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Using sources companyad_users for matching 
(pf::authentication::match)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Found source companyad_users in session. 
(Class::MOP::Class:::around)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(18894) 
WARN: [mac:unknown] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(18894) 
WARN: [mac:00:11:22:33:44:55] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
WARN: [mac:unknown] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
WARN: [mac:00:11:22:33:44:55] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] No provisioner found for 00:11:22:33:44:55. 
Continuing. 
(captiveportal::PacketFence::DynamicRouting::Module::Provisioning::execute_child)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] security_event 1300003 force-closed for 
00:11:22:33:44:55 (pf::security_event::security_event_force_close)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] Instantiate profile default 
(pf::Connection::ProfileFactory::_from_profile)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:unknown] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Releasing device 
(captiveportal::PacketFence::DynamicRouting::Module::Root::release)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User default has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
WARN: [mac:unknown] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
WARN: [mac:00:11:22:33:44:55] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] No provisioner found for 00:11:22:33:44:55. 
Continuing. 
(captiveportal::PacketFence::DynamicRouting::Module::Provisioning::execute_child)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] User exam has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] security_event 1300003 force-closed for 
00:11:22:33:44:55 (pf::security_event::security_event_force_close)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17666) 
INFO: [mac:00:11:22:33:44:55] Instantiate profile default 
(pf::Connection::ProfileFactory::_from_profile)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:unknown] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Unable to match MAC address to IP '41.116.45.118' 
(pf::ip4log::ip2mac)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Releasing device 
(captiveportal::PacketFence::DynamicRouting::Module::Root::release)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] User default has authenticated on the portal. 
(Class::MOP::Class:::after)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Instantiate profile default 
(pf::Connection::ProfileFactory::_from_profile)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] Instantiate profile default 
(pf::Connection::ProfileFactory::_from_profile)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] re-evaluating access (manage_register called) 
(pf::enforcement::reevaluate_access)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Can't re-evaluate access because no open 
locationlog entry was found (pf::enforcement::reevaluate_access)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
INFO: [mac:00:11:22:33:44:55] re-evaluating access (manage_register called) 
(pf::enforcement::reevaluate_access)
Jun 25 00:35:46 packetfence2 packetfence_httpd.portal: httpd.portal(17097) 
WARN: [mac:00:11:22:33:44:55] Can't re-evaluate access because no open 
locationlog entry was found (pf::enforcement::reevaluate_access)


Regards
David Herselman

From: Quiniou-Briand, Nicolas <nquin...@akamai.com>
Sent: Thursday, 24 June 2021 2:29 PM
To: packetfence-users@lists.sourceforge.net
Cc: David Herselman <d...@syrex.co>
Subject: RE: 802.1x - You do not have permission to register a device with this 
username

Hello David,

To solve this issue, I suggest we focus on a simple use case like a user doing 
Mac authentication which try to register a device on captive portal.
You can easily test using "Preview" on one of your connection profile from web 
admin: it will try to register a test device.

Could you try to register on captive portal with an AD account which is **not** 
present in `person` table ? Then provide packetfence.log during registration 
process.


Nicolas Quiniou-Briand
Product Support Engineer
[cid:image001.png@01D7695A.7C0E8B20]
Office: +33156696210
Akamai Technologies
145 Broadway
Cambridge, MA 02142
Connect with Us:
[cid:image002.jpg@01D7695A.7C0E8B20]<https://community.akamai.com/> 
[cid:image003.png@01D7695A.7C0E8B20] <http://blogs.akamai.com/>  
[cid:image004.png@01D7695A.7C0E8B20] <https://twitter.com/akamai>  
[cid:image005.png@01D7695A.7C0E8B20] 
<http://www.facebook.com/AkamaiTechnologies>  
[cid:image006.png@01D7695A.7C0E8B20] 
<http://www.linkedin.com/company/akamai-technologies>  
[cid:image007.png@01D7695A.7C0E8B20] 
<http://www.youtube.com/user/akamaitechnologies?feature=results_main>

_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to