[RADIATOR] Re-2: Re-2: Adding a user through radmin gives a CGI Error

Adwim Kalfsterman - AKSI Automatis akalfsterman at aksi.nl
Tue Apr 16 09:35:23 CDT 2013



> Good work! Do you get this when you are loading the 'Add User' page (I
> would not think so) or when you try to create the user with 'Add' button?
> 
> 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!

With kind regards
AKSI Automatisering bv

Adwim Kalfsterman

-------- Original Message --------
Subject: Re: [RADIATOR] Re-2: Re-2: Adding a user through radmin gives a CGI Error (16-apr-2013 15:32)
From:    Heikki Vatiainen <hvn at open.com.au>
To:      akalfsterman at aksi.nl

> On 04/16/2013 07:34 PM, Adwim Kalfsterman - AKSI Automatisering bv wrote:
> 
> >> Please see the above (proxy and Radmin permissions) and see if there is
> >> a possibility to turn on more extensive logging from IIS control panel.
> >> That might help to capture the possible error from editUser.pl.
> >  
> > By adding the following line to the editUser.pl script I got IIS to report 
> > the relevant error to the browser:
> >  
> >   use CGI::Carp qw(fatalsToBrowser);
> >  
> >  
> > The error I get:
> >  
> >   Day too big - 24942 > 24853
> >   Cannot handle date (, , 0, 16, 3, 2038) at c:/perl/site/lib/Radmin/Util.
> > pm line 321
> 
> Good work! Do you get this when you are loading the 'Add User' page (I
> would not think so) or when you try to create the user with 'Add' button?
> 
> 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
> 
> Thanks,
> Heikki
> 
> 
> > With kind regards,
> > AKSI Automatisering bv
> >  
> > 
> >  
> > Adwim Kalfsterman
> > T - +31 (0)50 549 00 64
> > F - +31 (0)50 549 00 71
> > E - akalfsterman at aksi.nl
> > W - www.aksi.nl
> > 
> > -------- Original Message --------
> > Subject: Re: [RADIATOR] Re-2: Adding a user through radmin gives a CGI 
> > Error (16-apr-2013 7:12)
> > From:    Heikki Vatiainen <hvn at open.com.au>
> > To:      akalfsterman at aksi.nl
> > 
> >> On 04/15/2013 07:09 PM, Adwim Kalfsterman - AKSI Automatis wrote:
> >>
> >>> The only thing IIS logs is a HTTP error 502:
> >>
> >> Hello Adwim,
> >>
> >> HTTP error 502 is 'Bad gateway'. Do you have a web proxy between
> >> yourself and the server that runs Radiator?
> >>
> >>> 2013-04-12 06:34:45 W3SVC1 xxx.xxx.xxx.xxx POST /Scripts/Radmin/private/
>  
> >>> editUser.pl database=aksi 80 - xxx.xxx.xxx.xxx Mozilla/5.0+(Windows+NT+
> 6.1;+
> >>> WOW64;+rv:19.0)+Gecko/20100101+Firefox/19.0 502 2 0
> >>
> >> You should also check you have not removed add user permission from
> >> yourself in Radmin configuration. Even if you have, it should not cause
> >> HTTP level error, but if there is a proxy somewhere, it may turn it to a
> >> 502.
> >>
> >>> This did use to work. As far as I know there have been no configuration 
> 
> >>> changes since the last time it worked. Performing IISRESET does not 
> change 
> >>> it either.
> >>
> >> Please see the above (proxy and Radmin permissions) and see if there is
> >> a possibility to turn on more extensive logging from IIS control panel.
> >> That might help to capture the possible error from editUser.pl.
> >>
> >> Thanks,
> >> Heikki
> >>
> >>> With kind regards,
> >>> Adwim Kalfsterman
> >>> AKSI Automatisering bv
> >>>
> >>> -------- Original Message --------
> >>> Subject: Re: [RADIATOR] Adding a user through radmin gives a CGI Error (
> 11-
> >>> apr-2013 13:12)
> >>> From:    Heikki Vatiainen <hvn at open.com.au>
> >>> To:      akalfsterman at aksi.nl
> >>>
> >>>> On 04/10/2013 04:48 PM, Adwim Kalfsterman - AKSI Automatisering bv 
> wrote:
> >>
> >>>>
> >>>>> I am not able to add users using the radmin web interface anymore. 
> >>>>> Everything else - authenticating with existing users, modifying 
> >> existing 
> >>>>> users, etc - works fine. When I fill out the add user form it 
> >> immediately 
> >>>>> gives me a CGI error after submitting the form: CGI Error The 
> specified 
> >> CGI 
> >>>>> application misbehaved by not returning a complete set of HTTP 
> headers.
> >>>>>
> >>>>> Is there anyway I can troubleshoot this?
> >>>>
> >>>> Hello Adwim,
> >>>>
> >>>> do you have anything in IIS logs? There might be errors that end up in
> >>>> the IIS logs.
> >>>>
> >>>> You also mentioned you can not do this anymore. Did this work well 
> >> earlier?
> >>>>
> >>>> Thanks,
> >>>> Heikki
> >>>>
> >>>>
> >>>>
> >>>>> My environment is:
> >>>>>
> >>>>> Windows Server 2003 r2 Standard
> >>>>> IIS 6
> >>>>> Radmin 1.14
> >>>>> Perl v5.8.9 built for MSWin32-x86-multi-thread
> >>>>>
> >>>>> With kind regards,
> >>>>> Adwim Kalfsterman
> >>>>> AKSI Automatisering bv
> >>>>>  
> >>>>> De inhoud van dit bericht is alleen bestemd voor de geadresseerde en 
> >> kan 
> >>>>> vertrouwelijke of persoonlijke informatie bevatten. Als u dit bericht 
> 
> >>>>> onbedoeld heeft ontvangen verzoeken wij u het te vernietigen en de 
> >> afzender 
> >>>>> te informeren. Het is niet toegestaan om een bericht dat niet voor u 
> >>>>> bestemd is te vermenigvuldigen dan wel te verspreiden. Aan dit 
> bericht 
> >>>>> inclusief de bijlagen kunnen geen rechten ontleend worden, tenzij 
> >>>>> schriftelijk anders wordt overeengekomen. Wij aanvaarden geen enkele 
> >>>>> aansprakelijkheid voor schade en/of kosten die voortvloeien uit 
> >> onvolledige 
> >>>>> en/of foutieve informatie in e-mailberichten. 
> >>>>>
> >>>>> This message is intended for the exclusive use of the person(s) 
> >> mentioned 
> >>>>> as recipient(s) and may contain personal and/or confidential 
> >> information. 
> >>>>> If you have received this message in error, please notify the sender 
> >> and 
> >>>>> delete this message from your system immediately. Directly or 
> >> indirectly 
> >>>>> copying, disclosing, distributing, printing, publicising and/or in 
> any 
> >> way 
> >>>>> using this message or any part thereof by any means is strictly 
> >> prohibited 
> >>>>> if you are not the intended recipient(s). This message and any 
> >> associated 
> >>>>> attachments cannot be deemed as legally binding under any 
> circumstances 
> >>
> >>>>> without the express written consent from us. We are not responsible 
> for 
> >> any 
> >>>>> loss and/or damages arising from any errors and/or omissions in its e-
> 
> >> mail 
> >>>>> messages.
> >>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> radiator mailing list
> >>>>> radiator at open.com.au
> >>>>> http://www.open.com.au/mailman/listinfo/radiator
> >>>>>
> >>>>
> >>>>
> >>>> -- 
> >>>> 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.
> >>>> _______________________________________________
> >>>> radiator mailing list
> >>>> radiator at open.com.au
> >>>> http://www.open.com.au/mailman/listinfo/radiator
> >>>
> >>>  
> >>> De inhoud van dit bericht is alleen bestemd voor de geadresseerde en 
> kan 
> >>> vertrouwelijke of persoonlijke informatie bevatten. Als u dit bericht 
> >>> onbedoeld heeft ontvangen verzoeken wij u het te vernietigen en de 
> afzender 
> >>> te informeren. Het is niet toegestaan om een bericht dat niet voor u 
> >>> bestemd is te vermenigvuldigen dan wel te verspreiden. Aan dit bericht 
> >>> inclusief de bijlagen kunnen geen rechten ontleend worden, tenzij 
> >>> schriftelijk anders wordt overeengekomen. Wij aanvaarden geen enkele 
> >>> aansprakelijkheid voor schade en/of kosten die voortvloeien uit 
> onvolledige 
> >>> en/of foutieve informatie in e-mailberichten. 
> >>>
> >>> This message is intended for the exclusive use of the person(s) 
> mentioned 
> >>> as recipient(s) and may contain personal and/or confidential 
> information. 
> >>> If you have received this message in error, please notify the sender 
> and 
> >>> delete this message from your system immediately. Directly or 
> indirectly 
> >>> copying, disclosing, distributing, printing, publicising and/or in any 
> way 
> >>> using this message or any part thereof by any means is strictly 
> prohibited 
> >>> if you are not the intended recipient(s). This message and any 
> associated 
> >>> attachments cannot be deemed as legally binding under any circumstances 
> 
> >>> without the express written consent from us. We are not responsible for 
> any 
> >>> loss and/or damages arising from any errors and/or omissions in its e-
> mail 
> >>> messages.
> >>>
> >>>  
> >>> De inhoud van dit bericht is alleen bestemd voor de geadresseerde en 
> kan 
> >>> vertrouwelijke of persoonlijke informatie bevatten. Als u dit bericht 
> >>> onbedoeld heeft ontvangen verzoeken wij u het te vernietigen en de 
> afzender 
> >>> te informeren. Het is niet toegestaan om een bericht dat niet voor u 
> >>> bestemd is te vermenigvuldigen dan wel te verspreiden. Aan dit bericht 
> >>> inclusief de bijlagen kunnen geen rechten ontleend worden, tenzij 
> >>> schriftelijk anders wordt overeengekomen. Wij aanvaarden geen enkele 
> >>> aansprakelijkheid voor schade en/of kosten die voortvloeien uit 
> onvolledige 
> >>> en/of foutieve informatie in e-mailberichten. 
> >>>
> >>> This message is intended for the exclusive use of the person(s) 
> mentioned 
> >>> as recipient(s) and may contain personal and/or confidential 
> information. 
> >>> If you have received this message in error, please notify the sender 
> and 
> >>> delete this message from your system immediately. Directly or 
> indirectly 
> >>> copying, disclosing, distributing, printing, publicising and/or in any 
> way 
> >>> using this message or any part thereof by any means is strictly 
> prohibited 
> >>> if you are not the intended recipient(s). This message and any 
> associated 
> >>> attachments cannot be deemed as legally binding under any circumstances 
> 
> >>> without the express written consent from us. We are not responsible for 
> any 
> >>> loss and/or damages arising from any errors and/or omissions in its e-
> mail 
> >>> messages.
> >>>
> >>>
> >>> _______________________________________________
> >>> radiator mailing list
> >>> radiator at open.com.au
> >>> http://www.open.com.au/mailman/listinfo/radiator
> >>>
> >>
> >>
> >> -- 
> >> 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.
> >> _______________________________________________
> >> radiator mailing list
> >> radiator at open.com.au
> >> http://www.open.com.au/mailman/listinfo/radiator
> > 
> > 
> > To: hvn at open.com.au
> >     radiator at open.com.au
> > Cc: nniemeijer at aksi.nl
> > 
> >  
> > De inhoud van dit bericht is alleen bestemd voor de geadresseerde en kan 
> > vertrouwelijke of persoonlijke informatie bevatten. Als u dit bericht 
> > onbedoeld heeft ontvangen verzoeken wij u het te vernietigen en de afzender 
> > te informeren. Het is niet toegestaan om een bericht dat niet voor u 
> > bestemd is te vermenigvuldigen dan wel te verspreiden. Aan dit bericht 
> > inclusief de bijlagen kunnen geen rechten ontleend worden, tenzij 
> > schriftelijk anders wordt overeengekomen. Wij aanvaarden geen enkele 
> > aansprakelijkheid voor schade en/of kosten die voortvloeien uit onvolledige 
> > en/of foutieve informatie in e-mailberichten. 
> > 
> > This message is intended for the exclusive use of the person(s) mentioned 
> > as recipient(s) and may contain personal and/or confidential information. 
> > If you have received this message in error, please notify the sender and 
> > delete this message from your system immediately. Directly or indirectly 
> > copying, disclosing, distributing, printing, publicising and/or in any way 
> > using this message or any part thereof by any means is strictly prohibited 
> > if you are not the intended recipient(s). This message and any associated 
> > attachments cannot be deemed as legally binding under any circumstances 
> > without the express written consent from us. We are not responsible for any 
> > loss and/or damages arising from any errors and/or omissions in its e-mail 
> > messages.
> > 
> > 
> > _______________________________________________
> > radiator mailing list
> > radiator at open.com.au
> > http://www.open.com.au/mailman/listinfo/radiator
> > 
> 
> 
> -- 
> 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.
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator

 
De inhoud van dit bericht is alleen bestemd voor de geadresseerde en kan vertrouwelijke of persoonlijke informatie bevatten. Als u dit bericht onbedoeld heeft ontvangen verzoeken wij u het te vernietigen en de afzender te informeren. Het is niet toegestaan om een bericht dat niet voor u bestemd is te vermenigvuldigen dan wel te verspreiden. Aan dit bericht inclusief de bijlagen kunnen geen rechten ontleend worden, tenzij schriftelijk anders wordt overeengekomen. Wij aanvaarden geen enkele aansprakelijkheid voor schade en/of kosten die voortvloeien uit onvolledige en/of foutieve informatie in e-mailberichten. 

This message is intended for the exclusive use of the person(s) mentioned as recipient(s) and may contain personal and/or confidential information. If you have received this message in error, please notify the sender and delete this message from your system immediately. Directly or indirectly copying, disclosing, distributing, printing, publicising and/or in any way using this message or any part thereof by any means is strictly prohibited if you are not the intended recipient(s). This message and any associated attachments cannot be deemed as legally binding under any circumstances without the express written consent from us. We are not responsible for any loss and/or damages arising from any errors and/or omissions in its e-mail messages.




More information about the radiator mailing list