I've been using OpenLDAP for some time, but on older distros. Recently I installed Oracle Linux Server 9.5 and found that openldap-server package is deprecated. I then downloaded openldap-2.6.9.tgz from openldap.org and followed the instructions on the quickstart page to build from source.
After a few hiccups, it got installed and I see the SYSTEMD server service and client tools. I started slapd from systemd and tried connecting from Apache Directory Studio. It shows an error:
Error while opening connection - [LDAP result code 2 - protocolError] PROTOCOL_ERROR: The server will disconnect! org.apache.directory.studio.connection.core.io.StudioLdapException: [LDAP result code 2 - protocolError] PROTOCOL_ERROR: The server will disconnect! at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.toStudioLdapException(DirectoryApiConnectionWrapper.java:1350) at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.access$2(DirectoryApiConnectionWrapper.java:1342)
Journalctl shows:
Jan 07 11:00:32 vm1.example.com slapd[865293]: connection_init(13, IP=192.168.1.191:49798): set nonblocking failed Jan 07 11:00:32 vm1.example.com slapd[865293]: daemon: connection_init(13, IP=192.168.1.191:49798, IP=0.0.0.0:389) failed.
SELinux has been set to disabled.
How should I find what the issue is?
openldap-servers
package.