Anonymous_User Absent Member.
Absent Member.
501 views

Modify error message on login page


Hi,

The default error message on login page contains LDAP error as follows:

The username or password is not valid. Please try again. { 5001
ERROR_WRONGPASSWORD (unable to create connection: unable to bind to
ldaps://192.168.0.1:636 as cn=myaccountname,ou=users,o=data reason:
[LDAP: error code 49 - NDS error: failed authentication (-669)]) }

Is there a way to exclude the LDAP error and just display "The user or
password is not valid. Please try again."?


--
knakkarit
------------------------------------------------------------------------
knakkarit's Profile: https://forums.netiq.com/member.php?userid=265
View this thread: https://forums.netiq.com/showthread.php?t=51597

0 Likes
2 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Modify error message on login page

When you login to the configuration section of SSPR chances are good there
is a warning that states you are still in configuration mode. When you
turn that off (finalize your build) you should see that most, if not all,
of the error messages change to simplified versions appropriate for end
users. You can lock the config at any time to test this; modifying the
SSPRConfiguration.xml file directly will let you unlock it again.

If you are not comfortable hacking XML just a tiny bit, backup this file
BEFORE you lock the config, then verify my claim above is true, and
finally copy the SSPRConfiguration.xml file back over the locked version
so that you keep all of your settings but set the config to unlocked again.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Modify error message on login page


It works. Thank you for the prompt reply.


--
knakkarit
------------------------------------------------------------------------
knakkarit's Profile: https://forums.netiq.com/member.php?userid=265
View this thread: https://forums.netiq.com/showthread.php?t=51597

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.