Hello Robert,
it looks correct.
To add debug, you can do that:
Add that in the code :
https://github.com/inverse-inc/packetfence/blob/devel/lib/pf/radius.pm#L315
use Data::Dumper;
$logger->warn(Dumper $args);
then restart httpd.aaa
Regards
Fabrice
Le 2017-10-06 à 16:59, Robert Meany via PacketFence-users a écrit :
We have a Tellabs PON which is unsupported by packetfence, but I have
had luck in sending the correct RADIUS auth responses for MAB VLAN
assignment. I'm trying to write a custom filter to send the
registration VLAN for a "user" that is unregistered but am not having
luck with it ... Here's what the code looks like...
[isPON]
filter = radius_request.NAS-Identifier
operator = is
value = NHS-OLT1
[userNotRegistered]
filter = node_info.status
operator = is
value = unreg
[PON_unreg:isPON&userNotRegistered]
merge_answer = yes
answer1 = Filter-ID => TLAB:PROFILE-SVC=306-Registration-Untagged
[isPON] works correctly but [userNotRegistered] is not seeing
node_info.status as 'unreg' (and the device is definitely
unregistered)
Can anyone help me with this?
Also - is there any way I can debug and see what the current values of
the variables available to the filter configuration are?
-------------------------------------------------------------------------
Robert Meany
Information Technology Dept.
Naugatuck Public Schools
475-212-3225 (BoE ext 1063)
------------------------------------------------------------------------------
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