Ldap Tools Such as ldapadd and ldapsearch Fail with "Segmentation Fault" or "ldap_sasl_interactive_bind_s" Errors
(Doc ID 370259.1)
Last updated on JANUARY 11, 2022
Applies to:
Oracle Internet Directory - Version 9.0.4 and laterInformation in this document applies to any platform.
Symptoms
One of the following symptoms may be exhibited:
ldapsearch fails with:
ldapsearch -h <OID_host> -p <OID_port> -X -s sub -b "cn=<CN>,cn=users,<realm_DN>" -s sub "objectclass=*"
SASL/DIGEST-MD5 authentication started
Please enter your password:
Segmentation fault
SASL/DIGEST-MD5 authentication started
Please enter your password:
Segmentation fault
Or:
ldapsearch -L -h <OID_host> -p <OID_port> -D cn=orcladmin -w <pwd> -b "<entry_DN>" -s base "objectclass=*"
SASL/DIGEST-MD5 authentication started
Please enter your realm:
ldap_sasl_interactive_bind_s: Invalid credentials
SASL/DIGEST-MD5 authentication started
Please enter your realm:
ldap_sasl_interactive_bind_s: Invalid credentials
(Pre-11g) ldapsearch fails with:
ERROR
ldap_init( <HOSTNAME>, <PORT> )
SASL/DIGEST-MD5 authentication started
Please enter your password:
Please enter your realm: <REALM>
ldap_sasl_interactive_bind_s: Invalid credentials
ldap_init( <HOSTNAME>, <PORT> )
SASL/DIGEST-MD5 authentication started
Please enter your password:
Please enter your realm: <REALM>
ldap_sasl_interactive_bind_s: Invalid credentials
(11g+) ldapsearch fails with:
ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
additional info: SASL(-4): no mechanism available: No worthy mechs found
additional info: SASL(-4): no mechanism available: No worthy mechs found
Or:
SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Unknown API error (-50)
additional info: SASL(-1): generic failure:
<search and filter details>
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
ldap_sasl_interactive_bind_s: Unknown API error (-50)
additional info: SASL(-1): generic failure:
<search and filter details>
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
From an RDBMS/Database system to a remore OID:
ld.so.1: ldapsearch: fatal: libldap50.so: open failed: No such file or directory
Killed
Killed
The issue can be reproduced at will with the following steps:
- Do not set any environment variables.
- Conduct an ldapsearch.
- One of the above errors is reproduced.
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |