On 05/10/2012 02:51 AM, [email protected] wrote:
> Thank's ! it's great if you can post your doc, I see the concept, but,  
> what do you mean by "setup multiple auth types" ?

In pf.conf, the auth= parameter.

auth=local (is the default)

you probably have:
auth=radius

but you could have:
auth=radius,ldap

Which would show a dropdown with both techniques.

and in the authentication modules (look under conf/authentication/), you
can add a getNodeAttributes() which can return the category (make sure
to create it first).

You could also alter your radius module there to look for something
specific that differentiate guests than users and assign category
accordingly.

Check the developer guide under "authentication modules".

> "Sallee, Stephen (Jake)" <[email protected]> a écrit :
>>
>> 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

or one that does the proper user discrimination and provides its
getNodeAttributes which set the category

>> 2) add some code to the register.cgi file to set the category based  
>> on the auth method the user used

The above step is no longer required since the new authentication API.

>> 3) in vlan/custom.pm add some code to return the vlan based on category

Jake's got it!

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

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