Authentication

NetScaler show 2 Authentication fields by 1 defined auth

NetScaler Gateway shows 2 authentication fields when only 1 LDAP Policy is bound:

NSAuth2fieldsNSAuth2fieldsldap

Put the text “form.append(field_pass2)” in comment in the files:

/netscaler/ns_gui/vpn/js/gateway_login_form_view.js
/var/netscaler/gui/vpn/js/gateway_login_form_view.js

Example:

if (pwc ==2)
{
//form.append(field_pass2);
}