Problem:
When attempting to use the ldapi:// URI to interact with the OpenLDAP server 
using commands like ldapmodify or ldapsearch, an error is encountered: 
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1).

Process is running
# ps -aux |grep ldap
ldap           9  0.0  0.4 42232968 79472 ?      Sl   Jan23   0:10 
/usr/libexec/slapd -u ldap -h ldap:/// ldapi:/// ldaps:/// -F 
/etc/openldap/slapd.d -d 256


Troubleshooting Steps Taken:

Verified the ldapi URI configuration.
Inspected the OpenLDAP configuration using slapd.conf or cn=config.
Examined ACLs and access control rules.


Additional Information:

OpenLDAP is running as a Docker container on RHEL 9 Basis OS
Docker Compose configuration includes port mappings for LDAP (3269:389) and 
LDAPS (3268:636).
The whole configuration was migrated from a working RHEL7 Server with Openladp 
2.4.5.
the new version in place is 2.5.13

Any additional insights or recommendations for resolving the ldapi connection 
issue would be greatly appreciated.

Additional to this, I would like to activate pagination, but I have not been 
able to find any configuration for it. Is this something that needs to be done 
on the server or client side?

Reply via email to