<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Andrew Morgan &#187; Access Gateway</title>
	<atom:link href="http://andrewmorgan.ie/tag/access-gateway/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewmorgan.ie</link>
	<description>Grumpy ramblings</description>
	<lastBuildDate>Fri, 30 Jun 2017 09:24:25 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0</generator>
	<item>
		<title>Using Citrix Edgesight to report Access Gateway logins.</title>
		<link>http://andrewmorgan.ie/2011/03/using-citrix-edgesight-to-report-access-gateway-logins/</link>
		<comments>http://andrewmorgan.ie/2011/03/using-citrix-edgesight-to-report-access-gateway-logins/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 23:13:23 +0000</pubDate>
		<dc:creator><![CDATA[andyjmorgan]]></dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Edgesight]]></category>
		<category><![CDATA[Access Gateway]]></category>

		<guid isPermaLink="false">http://andymorgan.wordpress.com/?p=353</guid>
		<description><![CDATA[Edgesight has at best some mediocre reports. The reports seem really useful at first glance, but when you are after a specific set of data it can be hard to come by. Below is a step by step guide to reporting external connections into your Citrix environment. First, we need to uniquely identify users as they come through the access gateway. To do this we change the web interface site to tag workstation names differently for access gateway connections. Log [&#8230;]]]></description>
				<content:encoded><![CDATA[<p style="text-align:left;"><img class="alignright" src="/wp-content/uploads/2009/01/ctxapp13.png?w=96&amp;h=96&amp;h=96" alt="" width="96" height="96" />Edgesight has at best some mediocre reports. The reports seem really useful at first glance, but when you are after a specific set of data it can be hard to come by. Below is a step by step guide to reporting external connections into your Citrix environment.</p>
<p style="text-align:left;">First, we need to uniquely identify users as they come through the access gateway. To do this we change the web interface site to tag workstation names differently for access gateway connections.</p>
<p>Log into your web interface and Identify the site used for your access gateway.</p>
<p><a href="/wp-content/uploads/2011/03/wis.jpg"><img class="size-full wp-image-355 aligncenter" title="wi's" src="/wp-content/uploads/2011/03/wis.jpg" alt="" width="349" height="94" /></a></p>
<ul>
<li>For Web Interface 4.5 and 4.6
<ul>
<li>edit the session.aspxf file located in the <strong>C:inetpubwwwrootCitrix<em>&lt;site name&gt;</em>app_datasiteserverscripts</strong> folder.</li>
</ul>
</li>
<li>For Web Interface 5.0
<ul>
<li>edit the SessionUtils.java file located in the <strong>C:inetpubwwwrootCitrix<em>&lt;site name&gt;</em>app_code<em>PagesJavacomcitrixwipageutils</em></strong> folder.</li>
</ul>
</li>
<li>In either case, change the following line</li>
</ul>
<pre><strong>From:</strong> deviceInfo.setClientName(clientName);
<strong>To:</strong> deviceInfo.setClientName(clientName.Replace("WI_","AG_"));</pre>
<p><strong><a href="/wp-content/uploads/2011/03/ag_.jpg"><img title="ag_" src="/wp-content/uploads/2011/03/ag_.jpg" alt="" width="573" height="160" /></a></strong></p>
<p>Note: The length of the client name must remain the same. For example, <strong>WEB0</strong> cannot be substituted for <strong>WI_</strong></p>
<p>Now that your users will be uniquely identified with their client name starting with AG_, time to move to edgesight and write your custom user group:</p>
<p>Open the Edgesight client, and browse to user configuration:</p>
<p><a href="/wp-content/uploads/2011/03/browse.jpg"><img class="size-full wp-image-357 aligncenter" title="browse" src="/wp-content/uploads/2011/03/browse.jpg" alt="" width="434" height="103" /></a></p>
<p>Select user groups from the left hand menu</p>
<p><a href="/wp-content/uploads/2011/03/usergroups.jpg"><img class="size-full wp-image-358 aligncenter" title="usergroups" src="/wp-content/uploads/2011/03/usergroups.jpg" alt="" width="242" height="274" /></a></p>
<p>Select new user group</p>
<p><a href="/wp-content/uploads/2011/03/newusergroup1.jpg"><img class="size-full wp-image-360 aligncenter" title="newusergroup" src="/wp-content/uploads/2011/03/newusergroup1.jpg" alt="" width="208" height="105" /></a></p>
<p>Name the user group something relevant e.g. Access gateway users, and press &#8220;Create user group&#8221;.</p>
<p><a href="/wp-content/uploads/2011/03/createusergroup.jpg"><img class="size-full wp-image-361 aligncenter" title="createusergroup" src="/wp-content/uploads/2011/03/createusergroup.jpg" alt="" width="532" height="239" /></a></p>
<p>Select Queries and choose next</p>
<p><a href="/wp-content/uploads/2011/03/queries.jpg"><img class="size-full wp-image-362 aligncenter" title="queries" src="/wp-content/uploads/2011/03/queries.jpg" alt="" width="330" height="58" /></a></p>
<p>again, give the query a relevant name, and enter the following in the query:</p>
<pre><em>Select sessid from vw_es_usergroup_ica_users where client_name like "ag_%"</em></pre>
<p><a href="/wp-content/uploads/2011/03/accessgusers.jpg"><img title="accessgusers" src="/wp-content/uploads/2011/03/accessgusers.jpg" alt="" width="328" height="193" /></a></p>
<p>Save the query, then click back, then next again.</p>
<p>Choose the new query you have created from the list, then choose Add query below.</p>
<p><a href="/wp-content/uploads/2011/03/addquery.jpg"><img class="size-full wp-image-364 aligncenter" title="addquery" src="/wp-content/uploads/2011/03/addquery.jpg" alt="" width="274" height="93" /></a></p>
<p>Now select Finish.</p>
<p><strong>Now we wait until the next data upload occurs</strong>. This is configured in your agent properties&#8230;</p>
<p>Once the data upload has occured, move to the Browse tab in edgesight</p>
<p><a href="/wp-content/uploads/2011/03/browse1.jpg"><img title="browse" src="/wp-content/uploads/2011/03/browse1.jpg" alt="" width="434" height="103" /></a></p>
<p>Find the report near the bottom called &#8220;user login details for a user group&#8221;</p>
<p><a href="/wp-content/uploads/2011/03/userlogondetails.jpg"><img class="size-full wp-image-367 aligncenter" title="Userlogondetails" src="/wp-content/uploads/2011/03/userlogondetails.jpg" alt="" width="484" height="71" /></a></p>
<p>Select the user group you specified from the user group dropdown, then choose Group by <strong>Date</strong>, then by <strong>user</strong> then by <strong>all.</strong></p>
<p><strong><a href="/wp-content/uploads/2011/03/accessgatewayusersgo.jpg"><img class="size-full wp-image-368 aligncenter" title="accessgatewayusersgo" src="/wp-content/uploads/2011/03/accessgatewayusersgo.jpg" alt="" width="600" height="104" /></a> </strong></p>
<p>you should now get a meaningful report on access gateway connections:</p>
<p><a href="/wp-content/uploads/2011/03/finished-report.jpg"><img class="size-full wp-image-369 aligncenter" title="finished report" src="/wp-content/uploads/2011/03/finished-report.jpg" alt="" width="600" height="267" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://andrewmorgan.ie/2011/03/using-citrix-edgesight-to-report-access-gateway-logins/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Customising the Error messages on Citrix Access Gateway Enterprise</title>
		<link>http://andrewmorgan.ie/2011/02/customising-the-error-messages-on-citrix-access-gateway-enterprise/</link>
		<comments>http://andrewmorgan.ie/2011/02/customising-the-error-messages-on-citrix-access-gateway-enterprise/#comments</comments>
		<pubDate>Fri, 25 Feb 2011 09:47:15 +0000</pubDate>
		<dc:creator><![CDATA[andyjmorgan]]></dc:creator>
				<category><![CDATA[Access Gateway]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Netscaler]]></category>

		<guid isPermaLink="false">http://andymorgan.wordpress.com/?p=339</guid>
		<description><![CDATA[As with most software solutions, advising the user to &#8220;contact the system administrator&#8221; may seem logical in the lab, but in the real world most users haven&#8217;t a clue who their system administrator is! He&#8217;s a collection of a number of individuals or just one sheepish person that doesnt need to be exposed to the user for every little password issue. The Citrix access gateway suffers this pet peeve of mine and recently I was asked to set about changing [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>As with most software solutions, advising the user to &#8220;contact the system administrator&#8221; may seem logical in the lab, but in the real world most users haven&#8217;t a clue who their system administrator is! He&#8217;s a collection of a number of individuals or just one sheepish person that doesnt need to be exposed to the user for every little password issue.</p>
<p><a href="/wp-content/uploads/2011/02/defaulterror.png"><img class="aligncenter size-full wp-image-340" title="defaulterror" src="/wp-content/uploads/2011/02/defaulterror.png" alt="" width="488" height="340" /></a></p>
<p>The Citrix access gateway suffers this pet peeve of mine and recently I was asked to set about changing this wording of this error to include a custom message.</p>
<p>To do so, load up winscp and connect to your Primary netscaler*.</p>
<p><em>*note i said primary, dont spend wasted time troubleshooting your secondary netscaler like this idiot did <img src="http://andrewmorgan.ie/wp-includes/images/smilies/icon_sad.gif" alt=":(" class="wp-smiley" /></em></p>
<p>Browse to<strong> /netscaler/ns_gui/vpn</strong><em><br />
</em></p>
<p>Right click and edit the login.js file.</p>
<p><a href="/wp-content/uploads/2011/02/list.png"><img class="aligncenter size-full wp-image-345" title="list" src="/wp-content/uploads/2011/02/list.png" alt="" width="295" height="296" /></a></p>
<p>Find the string you wish to modify as below:</p>
<p><a href="/wp-content/uploads/2011/02/oldstring.png"><img title="oldstring" src="/wp-content/uploads/2011/02/oldstring.png" alt="" width="600" height="99" /></a></p>
<p>Enter the new text you wish to see, then save the file back to the netscaler.</p>
<p>Clear your internet preferences and test!</p>
<p><a href="/wp-content/uploads/2011/02/customerror.png"><img class="aligncenter size-full wp-image-346" title="customerror" src="/wp-content/uploads/2011/02/customerror.png" alt="" width="465" height="335" /></a></p>
<p>To keep your settings after a netscaler restart, check the following article from Citrix: <a href="http://support.citrix.com/article/CTX122271">CTX122271</a></p>
<p>To modify the second password field to be pin and token, please see the following article: <a href="http://support.citrix.com/article/CTX126206">CTX126206</a></p>
]]></content:encoded>
			<wfw:commentRss>http://andrewmorgan.ie/2011/02/customising-the-error-messages-on-citrix-access-gateway-enterprise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
