That's amazing, thanks Fabrice. It's like I'd tried every combination apart 
from the most obvious one.

Cheers again.

From: Durand fabrice [mailto:[email protected]]
Sent: 29 April 2016 12:41
To: [email protected]
Subject: Re: [PacketFence-users] more vlan filter questions

Hello Andi,

Yes it's possible, just do that:
[2:home_user]
scope = RegisteredRole
role = eduroam_home
action = modify_node
action_param = mac = $mac, category = eduroam_home, unregdate = 3M

unregdate can be a date (2022-01-01 12:00) or an access duration (1h, 1D, 
1WR+1D)

Regards
Fabrice



Le 2016-04-29 06:55, Morris, Andi a écrit :
Hi again all,
Is there a way to set access duration in vlan filters? I can see the options 
there, but I can't get them to work.

Currently I evaluate the node role each time the user is authenticated using:

[2:home_user]
scope = RegisteredRole
role = eduroam_home
action = modify_node
action_param = mac = $mac, category = eduroam_home

and I'd like the access duration to be set each time this happens.

e.g.
if node role = home user
give access duration of 3 months

if node role = visitor
give access duration of 1 month

This should be calculated each time the node access the system, therefore old 
nodes will eventually expire and get removed from the database. Whereas 
currently a user can connect once, and the node remains registered forever.

Cheers,
Andi
________________________________

[Image removed by sender. Cardiff Metropolitan University - 150 years of 
nurturing            talent]<http://www.cardiffmet.ac.uk/cardiffmet150>



------------------------------------------------------------------------------

Find and fix application performance issues faster with Applications Manager

Applications Manager provides deep performance insights into multiple tiers of

your business applications. It resolves application problems quickly and

reduces your MTTR. Get your free trial!

https://ad.doubleclick.net/ddm/clk/302982198;130105516;z




_______________________________________________

PacketFence-users mailing list

[email protected]<mailto:[email protected]>

https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to