My Oracle Support Banner

Ldap Tools Such as ldapadd and ldapsearch Fail With 'Segmentation Fault' or 'ldap_sasl_interactive_bind_s' Error (Doc ID 370259.1)

Last updated on SEPTEMBER 03, 2019

Applies to:

Oracle Internet Directory - Version 9.0.4 to 11.1.1 [Release 10gR1 to 11g]
Information in this document applies to any platform.


One of the following symptoms may be exhibited:

ldapsearch -h <oidhost> -p <port> -D cn=orcladmin -w <password> -s sub -b "cn=oraclecontext" objectclass=* dn ldapsearch: fatal: open failed: No such file or directory


The issue can be reproduced at will with the following steps:

  1. Do not set any environment variables.
  2. Conduct an ldapsearch. For example:  ldapsearch -h <OID_host> -p <OID_port> -v "cn=<cn name>"
  3. The error is reproduced.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.