[RADIATOR] Expiration Date Bug ?

Heikki Vatiainen hvn at open.com.au
Fri Sep 20 15:06:42 CDT 2013


On 09/20/2013 07:49 AM, Kennyen Choo wrote:

> I'm using Expiration attribute with format "October 20 2013 00:00:00"
> but suprisingly the Radiator converted it to "1358611200" instead of the
> correct value which is "1382198400".

Try converting the dates from full month name to three letter
abbreviation. For example October -> Oct

If you see the reference manual about Expiration and ValidTo, the
supported format list includes only the abbreviated month name.

Unfortunately one of the examples has 'December' but that is incorrect.

Please let us know if this helps.

Thanks,
Heikki

-- 
Heikki Vatiainen <hvn at open.com.au>

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.


More information about the radiator mailing list