After installing Directory Manager 14.1.05 on Windows where IPv6 is disabled, logging into mgmt UI fails with "Login failed" error.
e.g.
This is a new product design where starting 14.1.05, IPv6 is required. One of the following solution or workaround can be applied in order to successfully log into mgmt UI.
1) Enable IPv6 on the host and restart all services. (e.g. DSAs, DXagent, mgmt UI etc.) Once done, login should be successful.
2) If for any reason, IPv6 cannot be enabled on a host, the 'config.js' file can be manually modified as described below.
** Open the config.js file located at /../management-ui (C:\Program Files\CA\Directory\management-ui)
** Replace the highlighted text with IP Address (IPv4 address) in quotes
module.exports.ldapClientConfig = [
{reconnect: true, url: 'ldaps://' + require("os").hostname() + ':10389', timeout: 100000, connectTimeout: 10000, bindDN: 'cn=superuser,ou=users,o=management-ui', ....}
];
e.g.
module.exports.ldapClientConfig = [
{reconnect: true, url: 'ldaps://' + "<IPv4 Address>" + ':10389', timeout: 100000, connectTimeout: 10000, bindDN: 'cn=superuser,ou=users,o=management-ui', ....}
];
** Restart all the services (DSAs, DXagent, mgmt UI etc.) and login should be successful.