Issue
- Unable to connect to Open LDAP in DXP due to the following UI error
Environment
- Liferay DXP 7.4
Resolution
-
These errors typically occur when Liferay is unable to communicate with LDAP or when mapping mistakes are made.
-
As a result, please ping both servers to ensure that they can communicate with one another. If they are, please check to see if any firewall settings are blocking the specified port.
-
- However, in this case, the principal's CN was incorrect in the connection section at the Liferay end. Three dc have been used, but in principal, these have not been mentioned and have been configured as follows:
Principal's CN> cn=admin,ou=people
- As a result, the correct mapping would be as follows: users should replace 'ou=people' with
Principal's CN> cn=admin,dc=xyz,dc=abc,dc=com
- As a result, the correct mapping would be as follows: users should replace 'ou=people' with
-
- The values abc and xyz are only for demonstration purposes, please see the actual values on the OpenLDAP side.
Additional Information
- This error can also occur when the LDAP user and/or password are incorrect. The same error is generated if the Distinguished name (dn) value is incorrect.