Actually, to follow this up. Is there a way to set the unreg date for a set 
interval? E.G. 30 days from registration date?

Cheers,
Andi

From: Morris, Andi [mailto:[email protected]]
Sent: 12 May 2015 14:12
To: [email protected]
Subject: [PacketFence-users] valid date

Hi,
I'm trying to add an unregdate to my vlan_filters.conf, but I keep getting met 
with the error below in packetfence.log:

May 12 14:00:46 httpd.webservices(23481) WARN: invalid date "2015-05-1523:59" 
(pf::util::valid_date)

My vlan_filter conf is:
[home_user]
filter = username
operator = match
value = ^(.+cardiffmet\.ac\.uk$|.+uwic\.ac\.uk$)

[autoreg:home_user]
scope = AutoRegister
role = Cardiff Met Staff/Student

[2:home_user]
scope = NormalVlan
role = Cardiff Met Staff/Student
action = modify_node
action_param = mac = $mac , unregdate = "2015-05-15 23:59"

I've tried it in various formats, with and without quotation marks, but still 
no joy. I tried to translate the regex within pf/lib/pf/util.pm and I'm pretty 
sure I am submitting a valid date. Can someone point me in the right direction 
please?

Cheers,
Andi

-------------------------------------
Andi Morris
IT Security Officer
Cardiff Metropolitan University
T: 02920 205720
E: [email protected]<mailto:[email protected]>
--------------------------------------

________________________________

[Cardiff Metropolitan University - 150 years of nurturing 
talent]<http://www.cardiffmet.ac.uk/cardiffmet150>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to