On 27/04/11 8:39 AM, Kevin Manuel wrote:
> Hi, can somebody tell me if there is a way to allow all connected users
> to auto-register in packetfence without having to make any edgeswitch
> changes and without having the user prompted for any info when they
> first connect?
> 
> We are allowing people on our network for a week long conference without
> having to login. Initially we thought of disabling mac security on all
> of the switchports and setting the vlanc. If packetfence has a built
> function for this then we’d just use that instead.
> 

I think this one has already been answered in the past. If you don't
want to touch to edge configuration, you can use an extension point to
perform what you want.

Quickly:
- copy shouldAutoRegister and getNodeInfoForAutoReg from pf::vlan into
pf::vlan::custom
- Modify what you just pasted into pf::vlan::custom
If shouldAutoRegister returns 1 the node will be automatically
registered with the info in getNodeInfoForAutoReg.
So just modify the methods so that they do what you need. Ex: if from
this switch: return 1; and populate node info to highlight the fact that
it was autoregistered.

-- 
Olivier Bilodeau
[email protected]  ::  +1.514.447.4918 *115  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
(www.packetfence.org)

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to