Citrix Netscaler add-on - No automatically sign on anymore ?

Resolved

Citrix Netscaler add-on - No automatically sign on anymore ?

avatar

Hi,

I've noticed that in the latest version of RDM, I'm not able to automatically log on with the Citrix Netscaler add-on.

In previous versions, when using a configured Netscaler add-on it nicely entered the login name and password on a website and automatically logged me on.
Now I have to manually click on "log on" for it to work.

Did it change somehow ?

All Comments (13)

avatar

Hi,
I suspect that they changed the html. Could post a View Source of the html for investigation? We don't have access to a NetScaler installation anymore.

Regards

David Hervieux

avatar

Thanks David for the quick reply.

Is this what you want ?

=================================================================================================

<!DOCTYPE html PUBLIC "-//W3C//DTD XDEV_HTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Netscaler Gateway</title>
<link rel="SHORTCUT ICON" href="/vpn/images/AccessGateway.ico" type="image/vnd.microsoft.icon">
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META content=noindex,nofollow,noarchive name=robots>
<link href="/vpn/js/rdx/core/css/rdx.css" rel="stylesheet" type="text/css"/>
<link href="/logon/themes/Default/css/base.css" rel="stylesheet" type="text/css" media="screen" />
<link rel="stylesheet" href="/logon/fonts/citrix-fonts.css" type="text/css">
<link href="/logon/themes/Default/css/custom.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="/vpn/js/rdx.js"></script>
<script type="text/javascript" src="/vpn/login.js"></script>
<script type="text/javascript" src="/vpn/js/views.js"></script>
<script type="text/javascript" src="/vpn/js/gateway_login_view.js"></script>
<script type="text/javascript" src="/vpn/js/gateway_login_form_view.js"></script>
<style type="text/css">
body
{
display : none;
visibility: hidden;
}
</style>
<SCRIPT language=JavaScript>
// frame-busting script
function changePage()
{
if( self == top ) {
document.getElementsByTagName("body")[0].style.display = 'block' ;
document.getElementsByTagName("body")[0].style.visibility = 'visible' ;
ns_fillName();
} else {
top.location = self.location ;
}

}
function setFocus(obj)
{
if (obj != null) {
obj.focus();
}
}
//-->
</SCRIPT>
<script type="text/javascript" src="/vpn/resources.js"></script>
<script type="text/javascript" language="javascript">
var Resources = new ResourceManager("/logon/themes/Default/resources/{lang}", "logon");
var eula = new ResourceManager("/logon/themes/EULA/resources/{lang}","custom_strings");
</script>
<script type="text/javascript" src="/vpn/nsshare.js"></script>
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
</head>
<body class="ns_body" id=bodyTag>
<!-- Copyright 2001-2005 Citrix Systems, Inc. All Rights Reserved -->
<NOSCRIPT>
<BR><BR>
<table style="WIDTH: 100%">
<tr>
<td align="center">
<table class="CTXMSAM_LogonFont">
<tr id="errorMessageRow">
<td class="glowBoxLeft">&nbsp;</td>
<td class="loginTableMidWidth">
<div id="feedbackArea">
<div id="feedbackStyle" class="feedbackStyleError">
<span id="errorMessageLabel" class="messageStyle">
JavaScript is either disabled in or not supported by the Web browser.
To continue logon, use a Web browser that supports JavaScript or enable JavaScript in your current browser.
</span>
</div>
</div>
</td>
<td class="glowBoxRight">&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>

<table style="display:none">
</NOSCRIPT>
<script>
rdx.FRAMEWORK_BASE = "/vpn/js"
rdx.page.add_event_handler(rdx.events.PAGE_LOADED, new rdx.callback(login, login.do_action_on_load));

$(window).load(function(){randomize();
resize();});
$(window).resize(function(){resize();});
</script>
</body>
</html>


=================================================================================================

As said, it worked before.

Kind regards,
Ron van Elteren

avatar

Yes that what I wanted. I will ask Olivier to check if he can find anything.

Regards

David Hervieux

avatar

Hi,

The HTML you sent is empty and seems to call a script JavaScript to make the page appears.

I recommend you to go to the site with a browser like Chrome or Firefox and when you see the login, right click on the page and click on "View page source" in the context menu. You should get the HTML of the page with the login.

Best regards,

Olivier Désalliers

avatar

I've checked my Java version and saw that the last update was on 19th of August.
I did an update to latest version and then deleted all temporary java files from my laptop.
Rebooted my laptop and then first tried RDM to see if automatic login worked, which it did not.

When checking code in Chrome, same html code appears.

================================================================================================
<!DOCTYPE html PUBLIC "-//W3C//DTD XDEV_HTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Netscaler Gateway</title> <link rel="SHORTCUT ICON" href="/vpn/images/AccessGateway.ico" type="image/vnd.microsoft.icon"> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <META content=noindex,nofollow,noarchive name=robots> <link href="/vpn/js/rdx/core/css/rdx.css" rel="stylesheet" type="text/css"/> <link href="/logon/themes/Default/css/base.css" rel="stylesheet" type="text/css" media="screen" /> <link rel="stylesheet" href="/logon/fonts/citrix-fonts.css" type="text/css"> <link href="/logon/themes/Default/css/custom.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="/vpn/js/rdx.js"></script> <script type="text/javascript" src="/vpn/login.js"></script> <script type="text/javascript" src="/vpn/js/views.js"></script> <script type="text/javascript" src="/vpn/js/gateway_login_view.js"></script> <script type="text/javascript" src="/vpn/js/gateway_login_form_view.js"></script> <style type="text/css"> body { display : none; visibility: hidden; } </style> <SCRIPT language=JavaScript> // frame-busting script function changePage() { if( self == top ) { document.getElementsByTagName("body")[0].style.display = 'block' ; document.getElementsByTagName("body")[0].style.visibility = 'visible' ; ns_fillName(); } else { top.location = self.location ; } } function setFocus(obj) { if (obj != null) { obj.focus(); } } //--> </SCRIPT> <script type="text/javascript" src="/vpn/resources.js"></script> <script type="text/javascript" language="javascript"> var Resources = new ResourceManager("/logon/themes/Default/resources/{lang}", "logon"); var eula = new ResourceManager("/logon/themes/EULA/resources/{lang}","custom_strings"); </script> <script type="text/javascript" src="/vpn/nsshare.js"></script> <META content="MSHTML 6.00.2900.2802" name=GENERATOR> </head> <body class="ns_body" id=bodyTag> <!-- Copyright 2001-2005 Citrix Systems, Inc. All Rights Reserved --> <NOSCRIPT> <BR><BR> <table style="WIDTH: 100%"> <tr> <td align="center"> <table class="CTXMSAM_LogonFont"> <tr id="errorMessageRow"> <td class="glowBoxLeft">&nbsp;</td> <td class="loginTableMidWidth"> <div id="feedbackArea"> <div id="feedbackStyle" class="feedbackStyleError"> <span id="errorMessageLabel" class="messageStyle"> JavaScript is either disabled in or not supported by the Web browser. To continue logon, use a Web browser that supports JavaScript or enable JavaScript in your current browser. </span> </div> </div> </td> <td class="glowBoxRight">&nbsp;</td> </tr> </table> </td> </tr> </table> <table style="display:none"> </NOSCRIPT> <script> rdx.FRAMEWORK_BASE = "/vpn/js" rdx.page.add_event_handler(rdx.events.PAGE_LOADED, new rdx.callback(login, login.do_action_on_load)); $(window).load(function(){randomize(); resize();}); $(window).resize(function(){resize();}); </script> </body> </html>

================================================================================================


[/table]

avatar

Hi,

HTML does not contain the login, it doesn't have any HTML <input> elements.

Do you know if you could provide us an url? We just need an access to the page and not the credentials. You can send it me to me via private message.

Best regards,

Olivier Désalliers

avatar

Hi Olivier,

I've send you a private message with the URL.

Thanks,
Ron

avatar

Hi,

Thank you for the url.

Do you use Remote Desktop Manager 32 or 64 bits?

We have been able to reproduce your issue only with Remote Desktop Manager 64 bits.

If you use the 64 bits version, can you try the 32 bits version and vice versa?

Best regards,

Olivier Désalliers

avatar

Hi Olivier,

Thank you for the investigation.

I'm using indeed the 64 bit version.

I will try the 32 bit version and let you know the outcome

UPDATE : yes, on the 32 bit client is works without issues. Hope it can be fixed for the 64 bit client.

avatar

Hi,

A fix for the auto submit with Remote Desktop Manager 64 bits will be available in the next version.

Best regards,

Olivier Désalliers

avatar

Hi Olivier,

Thank you so much for the quick help and solution.

UPDATE : received update today and I was really amazed to see that the fix was already in this update ! Really amazing work Devolutions Team, outstanding service !

Of course tested it right away with the 64 bit client and it works again indeed !

Kind regards,
Ron

avatar

Hello,

It seems the auto-submit stopped functioning again.

the HTML code is

<form name="form1" action="/login/do_login" method="post" autocomplete="off" autocapitalize="off" onsubmit="return checkform(this);">

	    <div class="ns_login_wrapper">

		    <div class="ns_login_inner_wrapper">

	            <div class="ns_login_top" style="display: none;"></div>

				<div class="ns_login_center">

				    <div class="ns_browser_not_supported_center" >

			        	<span>Citrix ADC</span>

		              	<div class="ns_browser_not_supported_center_content">

			                <div class="ns_browser_not_supported_center_message"> Your browser is not supported. Please use one of the following browsers

			                </div>

		                 	<div>

		                       <div class="ns_browser_not_supported_browser_icon">

		                       		<div>

		                           		<img src="/admin_ui/rdx/core/css/internet-explorer.png" alt="Internet Explorer">

		                       			<div>8 and above</div>

		                   			</div>

		               			</div>

		                       <div class="ns_browser_not_supported_browser_icon">

		                       		<div>

		                       			<img src="/admin_ui/rdx/core/css/firefox.png" alt="Firefox">

		                       			<div>3.6.25 and above</div>

		                   			</div>

		               			</div>

		                       <div class="ns_browser_not_supported_browser_icon">

		                       		<div>

		                       			<img src="/admin_ui/rdx/core/css/chrome.png" alt="Chrome">

		                       			<div>15 and above</div>	

		                       		</div>

		                   		</div>

		                       <div class="ns_browser_not_supported_browser_icon no_boder">

		                       		<div>

		                       			<img src="/admin_ui/rdx/core/css/safari.png" alt="Safari">

		                       			<div>5.1.3 and above</div>	

		                   			</div>

		               			</div>

		                  	</div>

		                 	<p class="ns_browser_not_supported_center_message">

		                 		<a onkeypress=\"javascript: if(event.keyCode == 13) {show_login_pane(); event.preventDefault();}\" onclick="show_login_pane()"> Continue, </a> I understand this browser may not be compatible.

		         			</p>

		              	</div>

			        </div>

			        <div class="ns_login_center_content">

						<div  class="ns_login_inner_div">

							<div  class="ns_login_form" >

	                            <div id="login_error" class="login_error"> 

	                            </div>

							   	<div id="ns_user_pass_section">

									<div class="ns_grid_text user_name">

	                                    <span>User Name</span>

										

	                                    <label for="username" style="display: none;">User Name</label>

	                                    <input type="text" id="username" name="username" class="login_input" onfocus=1>

									</div>

	

									<div class="ns_grid_text login_password">

	                                    <span>Password</span>

	

										<label for="password" style="display: none;">Password</label>

	                                    <input type="password" name="password" id="password" class="login_input">

									</div>

	                                    <div style="display:none">

	                                        <label for="eula-accepted" style="display: none;">EULA</label>

	                                        <input type="checkbox" name="eula" id="eula-accepted" value="TRUE">

	                                    </div>

	                                    <div class="login_button_cell">

	                                        <label for="url" style="display: none;">URL</label>

	                                        <input type="hidden" name="url" id="url" value="">

	

	                                        <label for="timezone_offset" style="display: none;">Timezone Offset</label>

	                                        <input type="hidden" name="timezone_offset" id="timezone_offset" value="">

	

	                                        <button type="submit" class="login_button rdx_blue_button"><span id="logintext">Log On</span><span id="loadingdots"></span></button>

	                                    </div>

	                            </div>

								<div class="ns_login_logo ns_logo_placement">

	                                <div class="login_title_and_lable" style="font-weight: bold;">Citrix</div>

									<div class="login_title_and_lable">ADC</div>

									<div class="ns_login_secure"></div>

								</div>

							</div>

						</div>

				</div>

			    </div>

			    </div>

			</div>

		</div>

	</form>


is it possible to verify the add-on?

Thank you in advance,

Kristof

avatar

Hello,

Thank you for giving us the HTML, we should be able to add an option to support this. We've opened an improvement ticket.

Regards,

Hubert Mireault