https://bugs.openldap.org/show_bug.cgi?id=10159

          Issue ID: 10159
           Summary: Unable to Use ldapi:// - ldap_sasl_interactive_bind_s:
                    Can't contact LDAP server (-1)
           Product: OpenLDAP
           Version: 2.5.13
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: needs_review
          Severity: normal
          Priority: ---
         Component: slapd
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

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 
Docker Compose configuration includes port mappings for LDAP (3269:389) and
LDAPS (3268:636).
The whole configuration was migrated from a working Server

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

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to