0

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?

2
  • The openldap server package is deprecated in RHEL solely because they prefer their LDAP solution (Red Hat Directory Server). It is not included in OEL because it is based on RHEL (but they sure have their own solution as well). If you want to use the openldap server, the best course of action is to enable the EPEL repository and install the openldap-servers package. Commented Jan 7 at 8:22
  • Ok, I'll do that. Thanks Commented Jan 7 at 12:02

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.