Hello Diogo,

i found a syntax issue in the PR.

I pushed a fix: https://github.com/inverse-inc/packetfence/pull/3278/commits/312502d3ab721b296cbe7117aa16f4b86c92b58f.diff

Regards

Fabrice


Le 2018-07-18 à 06:52, Diogo Rocha via PacketFence-users a écrit :

Hi Fabrice!!!!

I did everything you sent me.
I thougt it was working after restart radiusd and authorize a user with radius (NPS)

When i restart all pf services by PFCMD pf restart, i have this issue

I compare all files in the document you sent me and only the last is different

“lib/pf/services/manager/radiusd_child.pm <https://github.com/inverse-inc/packetfence/pull/3278/files#diff-987c5835413d69bbe8c65ef05f80684d>”

Can You Help me ? PF dont run again.

Jul 17 16:20:53 localhost packetfence: FATAL pfcmd.pl(4282): Attribute (options) is required at constructor pf::Authentication::Source::RADIUSSource::new (defined at /usr/local/pf/lib/pf/Authentication/Source/RADIUSSource.pm line 234) line 97.

pf::Authentication::Source::RADIUSSource::new('pf::Authentication::Source::RADIUSSource', 'HASH(0xad19b70)') called at /usr/local/pf/lib/pfconfig/namespaces/config/Authentication.pm line 166

pfconfig::namespaces::config::Authentication::newAuthenticationSource('pfconfig::namespaces::config::Authentication=HASH(0xa9330b8)', 'RADIUS', 'NPS_AD', 'HASH(0xad156a0)') called at /usr/local/pf/lib/pfconfig/namespaces/config/Authentication.pm line 71

pfconfig::namespaces::config::Authentication::build_child('pfconfig::namespaces::config::Authentication=HASH(0xa9330b8)') called at /usr/local/pf/lib/pfconfig/namespaces/config.pm line 71

pfconfig::namespaces::config::build('pfconfig::namespaces::config::Authentication=HASH(0xa9330b8)') called at /usr/local/pf/lib/pfconfig/manager.pm line 64

pfconfig::manager::config_builder('pfconfig::manager=HASH(0xa8d8e38)', 'config::Authentication') called at /usr/local/pf/lib/pfconfig/manager.pm line 295

pfconfig::manager::cache_resource('pfconfig::manager=HASH(0xa8d8e38)', 'config::Authentication') called at /usr/local/pf/lib/pfconfig/manager.pm line 373

pfconfig::manager::expire('pfconfig::manager=HASH(0xa8d8e38)', 'config::Authentication') called at /usr/local/pf/lib/pfconfig/manager.pm line 489

pfconfig::manager::expire_all('pfconfig::manager=HASH(0xa8d8e38)') called at /usr/local/pf/lib/pf/config.pm line 888

        pf::config::configreload(1) called at /usr/local/pf/lib/pf/cmd/pf/service.pm line 130

pf::cmd::pf::service::postPfStartService('ARRAY(0xa782130)') called at /usr/local/pf/lib/pf/cmd/pf/service.pm line 147

pf::cmd::pf::service::startService('pf', 'api-frontend', 'etcd', 'fingerbank-collector', 'haproxy-db', 'haproxy-portal', 'httpd.aaa', 'httpd.admin', 'httpd.collector', 'httpd.dispatcher', 'httpd.parking', 'httpd.portal', 'httpd.proxy', 'httpd.webservices', 'iptables', 'keepalived', 'netdata', 'pfbandwidthd', 'pfdetect', 'pfdhcp', 'pfdhcplistener', ...) called at /usr/local/pf/lib/pf/cmd/pf/service.pm line 335

pf::cmd::pf::service::restartService('pf', 'api-frontend', 'etcd', 'fingerbank-collector', 'haproxy-db', 'haproxy-portal', 'httpd.aaa', 'httpd.admin', 'httpd.collector', 'httpd.dispatcher', 'httpd.parking', 'httpd.portal', 'httpd.proxy', 'httpd.webservices', 'iptables', 'keepalived', 'netdata', 'pfbandwidthd', 'pfdetect', 'pfdhcp', 'pfdhcplistener', ...) called at /usr/local/pf/lib/pf/cmd/pf/service.pm line 124

pf::cmd::pf::service::_run('pf::cmd::pf::service=HASH(0x1a7b718)') called at /usr/local/pf/lib/pf/cmd.pm line 27

pf::cmd::run('pf::cmd::pf::service=HASH(0x1a7b718)') called at /usr/local/pf/lib/pf/cmd/subcmd.pm line 30

pf::cmd::subcmd::_run('pf::cmd::pf=HASH(0x1452c30)') called at /usr/local/pf/lib/pf/cmd.pm line 27

pf::cmd::run('pf::cmd::pf=HASH(0x1452c30)') called at /usr/local/pf/bin/pfcmd.pl line 27

(pf::Authentication::Source::RADIUSSource::new)

Enviado do Email <https://go.microsoft.com/fwlink/?LinkId=550986> para Windows 10



------------------------------------------------------------------------------
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

Reply via email to