HA! I can actually help!

We are doing exactly that same thing.  We are using some custom code to set the 
users category based on the authentication method.  It sounds complicated but 
it's not really.

If you're interested I can whip together a doc and post it to the list.

The gist of it is this.

1) setup categories in the PF GUI
2) setup multiple auth types
2) add some code to the register.cgi file to set the category based on the auth 
method the user used
3) in vlan/custom.pm add some code to return the vlan based on category

Jake Sallee
Godfather of Bandwidth
System Engineer
University of Mary Hardin-Baylor
900 College St.
Belton TX. 76513
Fone: 254-295-4658
Phax: 254-295-4221
HTTP://WWW.UMHB.EDU


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] 
Sent: Wednesday, May 09, 2012 9:19 AM
To: [email protected]
Subject: [PacketFence-users] Using 2 VLAN for "normal"

Hello

I've setting up PacketFence on CentOS 6.2 with Cisco WS-3560-8PC-S, VLAN 
enforcement, no RADIUS, just SNMP v2c with public/private community, captive 
portal and local users in user.conf it works fine.

But, Can I use 2 VLAN for "normal" based on user. Example : user1 is guest, 
user2 is enterprise's user. In productions, users authenticate via captive 
portal, and packetfence use RADIUS to find user/passwd.

Thanks, Rémi




------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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

Reply via email to