If you plan to deploy only the "One-Time password" based authentication in your user base using OTP tokens such as Deepnet SafeID, MobileID, then you can configure your Citrix NetScaler to work in the so-called One-Step Logon mode.
Using One-Step Logon process, Netscaler will use Active Directory as the primary authentication server and DualShield as the Secondary authentication server. Your AD will be responsible for verifying users’ AD passwords and DualShield will be responsible for verifying users’ One-Time password only. 

Edit Logon Procedure

In the DualShield Administration Console, edit the Logon Procedure for your NetScaler application. You only require One Logon Step, typically “One-Time Password” as the authentication method:

Configure Citrix NetScaler

  1. Navigate in to the Properties of your NetScaler Gateway | Virtual Server. Then select the Authentication tab.
    On the Primary Authentication Policies, add the DualShield AD-Deepnetqa_Receiver policy as top priority and the LDAP non-receiver policy as secondary priority.



  2. On the Secondary Authentication Policies, add the DualShield Radius_DualShield_Receiver policy as top priority and the DualShield_Radius policy as secondary priority.

Configure Citrix Receiver

Test Logon in Web Browser

Navigate to the Citrix NetScaler Access Gateway logon page:

The logon form consists of 3 fields:

  1. User name: User's domain account logoin name
  2. Password1: AD Password
  3. Password2: One-time Password

Customise Logon Form

You can customise NetScaler Access Gatway’s logon page to make it more user friendly. For instance, you may want to change “Password1” to “Password” or “Ad Password”, “Password2” to “Passcode” or “One-Time Password”.

The article below is the general instruction for customising Access Gateway logon page:

http://support.citrix.com/article/CTX126206

The basis of the customisation is to change relevant HTML and Javascript files in the NetScaler appliance. These file can be accessed via SSH in the folder below:

          /netscaler/ns_gui/vpn

As an example, if you just want to “Password1” to “Password”  and “Password2” to “Passcode”, then you need to edit the “login.js” file and replace the function “ns_showpwd()” with the following code:

function ns_showpwd()

{

      var pwc = ns_getcookie("pwcount");

      document.write('<TR><TD align=right style="padding-right:10px;white-space:nowrap;"><SPAN class=CTXMSAM_LogonFont>Password:</SPAN></TD>');  

      document.write('<TD colspan=2 style="padding-right:8px;"><input class="CTXMSAM_ContentFont" type="Password" title="' + _("Enter password") + '" name="passwd" size="30" maxlength="32" style="width:100%;"></TD></TR>');

      if ( pwc == 2 )

      {

         document.write('<TR><TD align=right style="padding-right:10px;white-space:nowrap;"><SPAN class=CTXMSAM_LogonFont>Passcode:</SPAN></TD>');

         document.write('<TD colspan=2 style="padding-right:8px;"><input class="CTXMSAM_ContentFont" type="Password" title="' + _("Enter password") + '" name="passwd1" size="30" maxlength="32" style="width:100%;"></TD></TR>');

      }

      UnsetCookie("pwcount");

}

Test Customise Logon Form in Web Browser

The Access Gateway logon page will be presented as:

Test Logon in Citrix Receiver

  • No labels