This article describes how to enable and customize enhanced security feedback messages on NetScaler.
Caution! Citrix does not support or assist with this configuration. Perform this modification at your own risk. If you do proceed, make sure to always take a backup before changing a live environment.
'Enhanced Authentication Feedback' is a NetScaler option disabled by default which provides more information to the end user about the reason for an authentication failure.
On the other hand, a security risk is included when enabling this option. Once this option is enabled it will be easier for an attacker to identify if a user account does not exist for example.
To enable, via CLI run command set aaa param -enableEnhancedAuthFeedback or via GUI navigate to NetScaler Gateway -> Global Settings -> Change authentication AAA settings -> Enable Enhanced Authentication Feedback.
Now, some admin might want to change the message returned from the NetScaler.
For Basic Authentication Policies:
Open up WinSCP or similar, browse to and edit the following file:
NS11+ – /var/netscaler/logon/themes/<Name_of_Theme>/resources/en.xml
Note: If you have a custom theme, replace <Name_of_Theme> with the whatever name you had specified during theme creation.
Edit the en.xml file change any of the values then save en.xml.
For Advanced Authentication Policies:
Open up WinSCP or similar, browse to and edit the following file:
NS11+ – /var/netscaler/logon/themes/<Name_of_Theme>/strings.en.json
Note: If you have a custom theme, replace <Name_of_Theme> with the whatever name you had specified during theme creation.
If using RfWebUI, then edit /var/netscaler/logon/LogonPoint/custom/strings.en.json
Edit the strings.en.json file change any of the values then save strings.en.json.