Hey guys,
I have created a portal profile for adding printers to a printer role. I have
added a provisioner to the profile based on that OS should be Printers/Scanners
found in fingerbank. In Fingerbank MAC Vendors, I can see that 0021b7 is Lexmark
How do I get my packetfence to match Mac Vendor with the Printer/Scanners
category in order for the portal profile to put it in my Printers role? Right
now the device is manually registered, so it ends up in the right role, but it
would be nice to make this automatic.
This is what I get from packetfence when I plug in the printer:
Mar 03 15:34:21 httpd.aaa(9956) INFO: [mac:00:21:b7:e6:94:71] handling radius
autz request: from switch_ip => (xx.xx.xx.xx), connection_type =>
WIRED_MAC_AUTH,switch_mac => (Unknown), mac => [00:21:b7:e6:94:71], port => 1,
username => "0021b7e69471" (pf::radius::authorize)
Mar 03 15:34:21 httpd.aaa(9956) INFO: [mac:00:21:b7:e6:94:71] Instantiate
profile Printere (pf::Portal::ProfileFactory::_from_profile)
Mar 03 15:34:21 httpd.aaa(9956) WARN: [mac:00:21:b7:e6:94:71] Can't find
provisioner for 00:21:b7:e6:94:71 since we don't have it's OS
(pf::Portal::Profile::findProvisioner)
Mar 03 15:34:21 httpd.aaa(9956) INFO: [mac:00:21:b7:e6:94:71] Connection type
is WIRED_MAC_AUTH. Getting role from node_info (pf::role::getRegisteredRole)
Mar 03 15:34:21 httpd.aaa(9956) INFO: [mac:00:21:b7:e6:94:71] Username was
defined "0021b7e69471" - returning role 'Printer' (pf::role::getRegisteredRole)
Mar 03 15:34:21 httpd.aaa(9956) INFO: [mac:00:21:b7:e6:94:71] PID: "default",
Status: reg Returned VLAN: (undefined), Role: Printer
(pf::role::fetchRoleForNode)
Mar 03 15:34:21 httpd.aaa(9956) INFO: [mac:00:21:b7:e6:94:71] (xx.xx.xx.xx)
Added VLAN 5 to the returned RADIUS Access-Accept
(pf::Switch::returnRadiusAccessAccept)
Jes
------------------------------------------------------------------------------
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
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users