Yes , I did.
[image: Встроенное изображение 1]
2017-10-26 15:00 GMT+02:00 Fabrice Durand via PacketFence-users <
[email protected]>:
> Hello Nicolay,
>
> did you define a role and an access duration for the user ?
>
> Regards
>
> Fabrice
>
>
>
> Le 2017-10-26 à 04:09, Nicolay Rytchev via PacketFence-users a écrit :
>
> Hello All,
>
> I can`t get access to the network by local Packetfence authentication ,
> but the authentication process is successful please see the error log
> message below:
>
> Oct 26 11:35:53 httpd.aaa(1677) INFO: [mac:2c:0e:3d:f2:bd:e4] handling
> radius autz request: from switch_ip => (10.49.253.84), connection_type =>
> Wireless-802.11-NoEAP,switch_mac => (00:35:1a:9e:1e:10), mac =>
> [2c:0e:3d:f2:bd:e4], port => 4, username => "2c:0e:3d:f2:bd:e4", ssid =>
> Free_Wifi (pf::radius::authorize)
> Oct 26 11:35:53 httpd.aaa(1677) INFO: [mac:2c:0e:3d:f2:bd:e4] Instantiate
> profile Guest_network (pf::Portal::ProfileFactory::_from_profile)
> Oct 26 11:35:53 httpd.aaa(1677) INFO: [mac:2c:0e:3d:f2:bd:e4] is of status
> unreg; belongs into registration VLAN (pf::role::getRegistrationRole)
> Oct 26 11:35:53 httpd.aaa(1677) INFO: [mac:2c:0e:3d:f2:bd:e4]
> (10.49.253.84) Added role Pre-Auth-For-WebRedirect to the returned RADIUS
> Access-Accept (pf::Switch::returnRadiusAccessAccept)
> Oct 26 11:35:53 httpd.aaa(1677) INFO: [mac:2c:0e:3d:f2:bd:e4] Adding web
> authentication redirection to reply using role: 'Pre-Auth-For-WebRedirect'
> and URL: 'https://ipgl-bu-pf.ipgphotonics.com/Cisco::WLC/sid6b79ba'
> (pf::Switch::Cisco::WLC::returnRadiusAccessAccept)
> Oct 26 11:36:04 httpd.portal(25803) INFO: [mac:2c:0e:3d:f2:bd:e4] URI
> '/Cisco::WLC/sid6b79ba' is detected as an external captive portal URI
> (pf::web::externalportal::handle)
> Oct 26 11:36:04 httpd.portal(25903) INFO: [mac:unknown] External captive
> portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_
> build_dispatcherSession)
> Oct 26 11:36:04 httpd.portal(25903) INFO: [mac:unknown] Detected external
> portal client. Using the IP 10.49.36.49 address in it's session.
> (captiveportal::PacketFence::Model::Portal::Session::_build_clientIp)
> Oct 26 11:36:04 httpd.portal(25903) ERROR: [mac:unknown] Can't bind :
> IO::Socket::INET: connect: Connection refused
> (pf::iplog::_get_lease_from_omapi)
> Oct 26 11:36:04 httpd.portal(25903) INFO: [mac:2c:0e:3d:f2:bd:e4] External
> captive portal detected ! (captiveportal::PacketFence::
> Model::Portal::Session::_build_dispatcherSession)
> Oct 26 11:36:04 httpd.portal(25903) INFO: [mac:2c:0e:3d:f2:bd:e4] Detected
> external portal client. Using the IP 10.49.36.49 address in it's session.
> (captiveportal::PacketFence::Model::Portal::Session::_build_clientIp)
> Oct 26 11:36:04 httpd.portal(25903) ERROR: [mac:2c:0e:3d:f2:bd:e4] Can't
> bind : IO::Socket::INET: connect: Connection refused
> (pf::iplog::_get_lease_from_omapi)
> Oct 26 11:36:04 httpd.portal(25903) INFO: [mac:2c:0e:3d:f2:bd:e4]
> Instantiate profile Guest_network (pf::Portal::ProfileFactory::_
> from_profile)
> Oct 26 11:36:04 httpd.portal(25676) INFO: [mac:unknown] External captive
> portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_
> build_dispatcherSession)
> Oct 26 11:36:04 httpd.portal(25676) INFO: [mac:unknown] Detected external
> portal client. Using the IP 10.49.36.49 address in it's session.
> (captiveportal::PacketFence::Model::Portal::Session::_build_clientIp)
> Oct 26 11:36:04 httpd.portal(25676) ERROR: [mac:unknown] Can't bind :
> IO::Socket::INET: connect: Connection refused
> (pf::iplog::_get_lease_from_omapi)
> Oct 26 11:36:04 httpd.portal(25676) INFO: [mac:2c:0e:3d:f2:bd:e4] External
> captive portal detected ! (captiveportal::PacketFence::
> Model::Portal::Session::_build_dispatcherSession)
> Oct 26 11:36:04 httpd.portal(25676) INFO: [mac:2c:0e:3d:f2:bd:e4] Detected
> external portal client. Using the IP 10.49.36.49 address in it's session.
> (captiveportal::PacketFence::Model::Portal::Session::_build_clientIp)
> Oct 26 11:36:04 httpd.portal(25676) ERROR: [mac:2c:0e:3d:f2:bd:e4] Can't
> bind : IO::Socket::INET: connect: Connection refused
> (pf::iplog::_get_lease_from_omapi)
> Oct 26 11:36:04 httpd.portal(25676) INFO: [mac:2c:0e:3d:f2:bd:e4]
> Instantiate profile Guest_network (pf::Portal::ProfileFactory::_
> from_profile)
> Oct 26 11:36:08 httpd.portal(25869) INFO: [mac:unknown] External captive
> portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_
> build_dispatcherSession)
> Oct 26 11:36:08 httpd.portal(25869) INFO: [mac:unknown] Detected external
> portal client. Using the IP 10.49.36.49 address in it's session.
> (captiveportal::PacketFence::Model::Portal::Session::_build_clientIp)
> Oct 26 11:36:08 httpd.portal(25869) ERROR: [mac:unknown] Can't bind :
> IO::Socket::INET: connect: Connection refused
> (pf::iplog::_get_lease_from_omapi)
> Oct 26 11:36:08 httpd.portal(25869) INFO: [mac:2c:0e:3d:f2:bd:e4] External
> captive portal detected ! (captiveportal::PacketFence::
> Model::Portal::Session::_build_dispatcherSession)
> Oct 26 11:36:08 httpd.portal(25869) INFO: [mac:2c:0e:3d:f2:bd:e4] Detected
> external portal client. Using the IP 10.49.36.49 address in it's session.
> (captiveportal::PacketFence::Model::Portal::Session::_build_clientIp)
> Oct 26 11:36:08 httpd.portal(25869) ERROR: [mac:2c:0e:3d:f2:bd:e4] Can't
> bind : IO::Socket::INET: connect: Connection refused
> (pf::iplog::_get_lease_from_omapi)
> Oct 26 11:36:08 httpd.portal(25869) INFO: [mac:2c:0e:3d:f2:bd:e4]
> Instantiate profile Guest_network (pf::Portal::ProfileFactory::_
> from_profile)
> Oct 26 11:36:09 httpd.portal(25676) INFO: [mac:unknown] External captive
> portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_
> build_dispatcherSession)
> Oct 26 11:36:09 httpd.portal(25676) INFO: [mac:unknown] Detected external
> portal client. Using the IP 10.49.36.49 address in it's session.
> (captiveportal::PacketFence::Model::Portal::Session::_build_clientIp)
> Oct 26 11:36:09 httpd.portal(25676) ERROR: [mac:unknown] Can't bind :
> IO::Socket::INET: connect: Connection refused
> (pf::iplog::_get_lease_from_omapi)
> Oct 26 11:36:09 httpd.portal(25676) INFO: [mac:2c:0e:3d:f2:bd:e4] External
> captive portal detected ! (captiveportal::PacketFence::
> Model::Portal::Session::_build_dispatcherSession)
> Oct 26 11:36:09 httpd.portal(25676) INFO: [mac:2c:0e:3d:f2:bd:e4] Detected
> external portal client. Using the IP 10.49.36.49 address in it's session.
> (captiveportal::PacketFence::Model::Portal::Session::_build_clientIp)
> Oct 26 11:36:09 httpd.portal(25676) ERROR: [mac:2c:0e:3d:f2:bd:e4] Can't
> bind : IO::Socket::INET: connect: Connection refused
> (pf::iplog::_get_lease_from_omapi)
> Oct 26 11:36:09 httpd.portal(25676) INFO: [mac:2c:0e:3d:f2:bd:e4]
> Instantiate profile Guest_network (pf::Portal::ProfileFactory::_
> from_profile)
> Oct 26 11:36:21 httpd.portal(26050) INFO: [mac:unknown] External captive
> portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_
> build_dispatcherSession)
> Oct 26 11:36:21 httpd.portal(26050) INFO: [mac:unknown] Detected external
> portal client. Using the IP 10.49.36.49 address in it's session.
> (captiveportal::PacketFence::Model::Portal::Session::_build_clientIp)
> Oct 26 11:36:21 httpd.portal(26050) ERROR: [mac:unknown] Can't bind :
> IO::Socket::INET: connect: Connection refused
> (pf::iplog::_get_lease_from_omapi)
> Oct 26 11:36:21 httpd.portal(26050) INFO: [mac:unknown] Memory
> configuration is not valid anymore for key resource::stats_levels in local
> cached_hash (pfconfig::cached::is_valid)
> Oct 26 11:36:21 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] External
> captive portal detected ! (captiveportal::PacketFence::
> Model::Portal::Session::_build_dispatcherSession)
> Oct 26 11:36:21 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] Detected
> external portal client. Using the IP 10.49.36.49 address in it's session.
> (captiveportal::PacketFence::Model::Portal::Session::_build_clientIp)
> Oct 26 11:36:21 httpd.portal(26050) ERROR: [mac:2c:0e:3d:f2:bd:e4] Can't
> bind : IO::Socket::INET: connect: Connection refused
> (pf::iplog::_get_lease_from_omapi)
> Oct 26 11:36:21 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4]
> Instantiate profile Guest_network (pf::Portal::ProfileFactory::_
> from_profile)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4]
> Authenticating user using sources : local (captiveportal::PacketFence::
> DynamicRouting::Module::Authentication::Login::authenticate)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4]
> Authentication successful for 'test1' in source local (SQL)
> (pf::authentication::authenticate)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] User
> test1 has authenticated on the portal. (Class::MOP::Class:::after)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] Found
> source local in session. (Class::MOP::Class:::around)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] Found
> source local in session. (Class::MOP::Class:::around)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4]
> Successfully authenticated test1 (captiveportal::PacketFence::
> DynamicRouting::Module::Authentication::Login::authenticate)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] Found
> source local in session. (Class::MOP::Class:::around)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] Found
> source local in session. (Class::MOP::Class:::around)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] Found
> source local in session. (Class::MOP::Class:::around)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] User
> test1 has authenticated on the portal. (Class::MOP::Class:::after)
> Oct 26 11:36:22 httpd.portal(26050) WARN: [mac:2c:0e:3d:f2:bd:e4] Calling
> match with empty/invalid rule class. Defaulting to 'authentication'
> (pf::authentication::match)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] Using
> sources local for matching (pf::authentication::match)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] Found
> source local in session. (Class::MOP::Class:::around)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] User
> test1 has authenticated on the portal. (Class::MOP::Class:::after)
> Oct 26 11:36:22 httpd.portal(26050) WARN: [mac:2c:0e:3d:f2:bd:e4] Calling
> match with empty/invalid rule class. Defaulting to 'authentication'
> (pf::authentication::match)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] Using
> sources local for matching (pf::authentication::match)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] Found
> source local in session. (Class::MOP::Class:::around)
> Oct 26 11:36:22 httpd.portal(26050) INFO: [mac:2c:0e:3d:f2:bd:e4] Found
> source local in session. (Class::MOP::Class:::around)
> Oct 26 11:36:22 httpd.portal(25869) INFO: [mac:unknown] External captive
> portal detected ! (captiveportal::PacketFence::Model::Portal::Session::_
> build_dispatcherSession)
> Oct 26 11:36:22 httpd.portal(25869) INFO: [mac:unknown] Detected external
> portal client. Using the IP 10.49.36.49 address in it's session.
> (captiveportal::PacketFence::Model::Portal::Session::_build_clientIp)
> Oct 26 11:36:22 httpd.portal(25869) ERROR: [mac:unknown] Can't bind :
> IO::Socket::INET: connect: Connection refused
> (pf::iplog::_get_lease_from_omapi)
> Oct 26 11:36:22 httpd.portal(25869) INFO: [mac:2c:0e:3d:f2:bd:e4] External
> captive portal detected ! (captiveportal::PacketFence::
> Model::Portal::Session::_build_dispatcherSession)
> Oct 26 11:36:22 httpd.portal(25869) INFO: [mac:2c:0e:3d:f2:bd:e4] Detected
> external portal client. Using the IP 10.49.36.49 address in it's session.
> (captiveportal::PacketFence::Model::Portal::Session::_build_clientIp)
> Oct 26 11:36:22 httpd.portal(25869) ERROR: [mac:2c:0e:3d:f2:bd:e4] Can't
> bind : IO::Socket::INET: connect: Connection refused
> (pf::iplog::_get_lease_from_omapi)
> Oct 26 11:36:22 httpd.portal(25869) INFO: [mac:2c:0e:3d:f2:bd:e4]
> Instantiate profile Guest_network (pf::Portal::ProfileFactory::_
> from_profile)
>
> Thank you in advance.
>
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]https://lists.sourceforge.net/lists/listinfo/packetfence-users
>
>
> --
> Fabrice [email protected] :: +1.514.447.4918 <(514)%20447-4918>
> (x135) :: www.inverse.ca
> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence
> (http://packetfence.org)
>
>
> ------------------------------------------------------------
> ------------------
> 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
>
>
------------------------------------------------------------------------------
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