Hi Jake, > My 802.1x users are auto registered since they are obviously genuine > users as they have already passed the 802.1x auth process. However, I do > not think I am able to set the user category in the same block of code > that we use to determine the vlan because that part if the API is not > exposed to the custom vlan assignment. Which is logical since the user’s > category should have already been set when the user was registered. > > I would like to be able to set the user’s category based on the users > name (which holds the domain info EX: [email protected] > <mailto:[email protected]>) in both cases, in the same way. > > Where could I place my code so that no matter what auth mechanism the > users uses they will still get assigned to a category? Override the getNodeInfoForAutoReg in vlan/custom.pm, and you should be all set :)
Let me know if you need a code example. Thanks! -- Francois Gaudreault, ing. jr [email protected] :: +1.514.447.4918 (x130) :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
