Update LDAP Server endpoint

Olaf Kock, modified 1 Year ago. New Member Post: 1 Join Date: 3/6/24 Recent Posts

Hello,

I'm trying to update the LDAP server URL in the Lifray Portal. The previous URL works fine; however, when I attempt to set the new URL, I encounter a pop-up saying that Lifray couldn't connect to the LDAP server.

When I query the LDAP server with the command line, it responds, but it doesn't work from the interface.

I've ensured that I'm using TLSv1.2 and also updated the Lifray keystore with the LDAP server certificates. The issue is that I don't have any logs indicating the error.

Could you please help me?

 

Thnak you

thumbnail
Olaf Kock, modified 1 Year ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

Hard to say without any more information.

Validate:

  • that the LDAP server is reachable from the Liferay server​​​​​​​. Sometimes name resolution or connections fail from certain firewalled zones.
  • typos (e.g. from the Liferay server's shell, ping the server you're intending to use, or telnet to its LDAP port. Even if you can't finish the connection handshake, you should see if there is some server listening there)
  • the LDAP server's firewall. It might not allow to be connected from the direction of your Liferay's server or network.