Link to home
Start Free TrialLog in
Avatar of compdigit44
compdigit44

asked on

Netscaler 10.1 Custom AAA Login Page

We are Netscaler 10.1 and need to update the default AAA login page so request for one APP "sharepoint" get a different login screen which is more branded to our company but all other AAA services should use the default one for now.

Now I have never does this before but have read the process if different from 9.x to 10.x.  From my Netscaler I copied all files from the /vpn/resources folder to a folder on my desktop called ns_gui_custom.

I am be bit unsure of the following.

1) How to change the background color?
2) Change the logo's for our company ones's?

I am not a web developer so what are the best tools to do this
ASKER CERTIFIED SOLUTION
Avatar of Brian CTXSupport
Brian CTXSupport
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of compdigit44
compdigit44

ASKER

there a no easy to use designs tools you could recommend?
Not personally.  I hate web development work.  Would take me hours to do what a web developer could do in ten minutes.
We do not have any web developers onsite though
Can you zip the site code and upload it so I can take a look?  I don't have a non-production NetScaler available that I can play with.

https://ctxsupport.sharefile.com/r-r27ef3eaee3c4096b (Link expires May 22, 2015)
I cannot upload the file right now but they are all the standard finishes in the /nsgui/vpn/resources directory
Whenever you can is fine.  I don't have access to a NetScaler that isn't production.
I will not be able to upload the files since its against our security SOP for the appliance... I am sorry
Does anyone have any suggestion or tips on how I can customize the AAA login screen on a Netscaler 10.1 with limit Web Dev experience or tools?

I only need tot update the logos, change the background color and remove reference to Citrix an replace it with our company name
You'd have to copy the customization files when you create the to-be-branded site, which violates the SOP for the appliance.  Just tell them you can't do it for that reason.  Seems silly to me since it's just generic code, but I digress.
I understand your point about the code being generic but policy is policy...

Any other suggestion????
Nothing I can do without seeing the site code.  Maybe someone else has done it and will chime in.
SOLUTION
Avatar of btan
btan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks ... I have read that I have to archive the files as as *.tar otherwise the file would be lost on a reboot.  Also will these seeing change affect all AAA request. I only need this for one URL request and that's it...
It sounds like I could take all of the image in the image folder and replace them with my images but use the same name and do the index.html file will automatically pick them up... do I have the right idea. Also can I name my folder holding my custom files anything I want or does it have to be a specific name
That should work.  Download the contents so you can get the size of the image files.  From my recollection you can name it whatever you like.
Doing that now... Cannot find where the background color is set though... They really do not make it easy to do this
anyway to test the file without uploading it to the Netscaler
My whole goal in doing this is because I am moving getting ride of our ISA 2006 server which external SharePoint connections come into in favor of the Netscaler. I just need to change the page a bit so user do not get confused as to why they see a Citrix screen when connecting to Sharepoint
maybe since a slight diff then might as well use the "GreenBubble" example (see "Change GUI on Gateway portal")
For instance if we wish to change the background image we can add a new image to the folder /var/netscaler/gui/vpn/media by added a new image by the name bg_bubbles.jpg to replace the old background.
If we wish to change the text that appears in the portal we can change this under /vpn/resources/en.xml
Now if we want to same this custom theme, we first need to create a folder called ns_gui_custom under the /var/ folder.

This can in shell by writing  mkdir /var/ns_gui_custom

Next change directory to /netscaler by typing: cd /netscaler

Now we to archive the ns_gui folder: tar -cvzf /var/ns_gui_custom/customtheme.tar.gz ns_gui/* This is because when the netscaler boots it exports the tar file to the nsgui folder.
re-using the theme at global setting and simply replace the image file - that should give the different fell from ISA already https://msandbu.wordpress.com/2013/11/04/netscaler-tips-and-tricks/
Or just follow this example which include "disclaimer statement" in UI
To add a disclaimer to the login page of the Access gateway Enterprise Edition, complete the following procedure:

Copy the index.html and login.js files to the local computer.
Open the index.html file in a text editor and make the following changes to the content of the file:
This definition is available at approximately line number 67.
Add the text, highlighted in bold face for your reference, as shown in the following snippet:
...<tr>
<!– Disclaimer customization – Add a name to the LogonButton in order to be referenced later –>
<td></td><td></td><td align=”right”><input type=”submit” value=”Log On” onclick=”ns_check();” onmouseover=”this.className=’CTX_CaxtonButton_Hover';” onmouseout=”this.className=’CTX_CaxtonButton';” name=”LogonButton” disabled=”true”/></td>
</tr>
</table>
<!– Disclaimer customization –>
<input type=”checkbox” name=”chk1_button” onClick=”enableLogonButton(this);”/> Please enter you disclaimer text here
<!– End of Disclaimer customization–>
</FORM>
http://bretty.me.uk/how-to-add-a-disclaimer-to-the-access-gateway-enterprise-edition/
I found the really good link which steps through all the items I need to change..

http://www.icenlemon.co.uk/blog/?p=232

I hope this helps someone else as well.
any idea on how I can preview my change without have the upload them to he Netscaler? When I double click on the tmindex.html file I just get a blank pages... I feel that I am getting really close
most probably the dependencies stated in the html was not found in the same folder when you try to to open the html, try to see if you can get those together and re-open. good to spin off another qns if necessarily. thanks for sharing.