Implementing an account expiry in the users file

Stefan Paetow Stefan.Paetow at jisc.ac.uk
Wed Mar 28 17:42:36 CEST 2018


Hi, 

I'm building a really basic system at the moment and want to implement a basic account expiry in the users file (since that's my user store). I found the Expiration attribute, but there seems to be a documentation mismatch. The FreeRADIUS docs on NetworkRADIUS say the format is one emitted by 'date'. In my instance that is 'Wed Mar 28 15:41:12 UTC 2018'. But that's not accepted. What *is* accepted is a Unix-style epoch timestamp (like tomorrow this time: '1522337946' sans quotes).

Can I get clarification on this? :-)

With Regards

Stefan Paetow
Consultant, Trust and Identity

t: +44 (0)1235 822 125
gpg: 0x3FCE5142
xmpp: stefanp at jabber.dev.ja.net
skype: stefan.paetow.janet

jisc.ac.uk

Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
 




More information about the Freeradius-Users mailing list