Hi all,
I think there is a bug in the sub getNodeInfoForAutoReg() in vlan.pm file.
I've got this profile:
[dot1x]
locale=
filter=connection_type:Ethernet-EAP
description=machine auth via dot1x
mandatory_fields=
sources=fallback-dot1x
dot1x_recompute_role_from_portal=0
In the vlan.pm code, sub getNodeInfoForAutoReg(), at the beginning, (my
$profile = pf::Portal::ProfileFactory->instantiate($mac,$options);)
my profile filter ("connection_type:Ethernet-EAP") is never matched because,
gathering the options, the line:
$options->{'last_connection_type'} = $conn_type if (defined($conn_type));
should be:
$options->{'last_connection_type'} = connection_type_to_str($conn_type) if
(defined($conn_type));
if I modify that my profile is correctly matched.
Any comments?
Diego Bonfigli
--
Dr. Diego Bonfigli
tel: 366 5898323
email: [email protected]
Laboratori Guglielmo Marconi - www.labs.it
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users