[RADIATOR] Re-2: Re-2: Adding a user through radmin gives a CGI Error
Heikki Vatiainen
hvn at open.com.au
Tue Apr 16 17:24:07 CDT 2013
On 04/17/2013 12:35 AM, Adwim Kalfsterman - AKSI Automatis wrote:
>> If you get it after 'Add', what are you using as 'Valid from' and 'Valid
>> to' values? A quick check shows Perl's timelocal will not accept dates
>> after Jan 2038 if the Perl version is less than 5.12
>
> That makes sense. I had read about the 2038 problem, but I figured it would be a cookie lifetime problem somewhere. I did not think to check the validity of the user itself (eventhough it's right there in the error message!), which by default is 25 years from now. So it must've worked up until december of last year.
>
> Thanks alot, I know how to fix (and work around) it now!
Good to hear this got solved. With later Perls you can have a 'Valid to'
like 2410-12-31 and it will work. With older Perls (pre 5.12) you need
to keep the date below 2038-01-19. I just tested 2410 with a system
running Perl 5.14 and Radmin and DB had no problems with it.
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