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.
Symptoms
One of the following symptoms may be exhibited:
- ldapsearch fails with:
ldapsearch -h <OID_host> -p <OID_port> -X -s sub -b "cn=<PORTAL_GROUP>,cn=groups,<realm>" -s sub "objectclass=*" > exp_data/portal_groups.xml
SASL/DIGEST-MD5 authentication started
Please enter your password:
Segmentation fault - ldapsearch fails during step 2f of "11 Staging a Test Environment from a Production Environment" from the "Oracle Application Server Administrator's Guide, 10g Release 2 (10.1.2)", with:
ldapsearch -L -h <OID_host> -p <OID_port> -D cn=orcladmin -w <pwd> -b "cn=PwdPolicyEntry, cn=common, cn=products, cn=OracleContext" -s base "objectclass=*" >> /tmp/pwdPolicy.ldif
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_NAME>
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 - From an RDBMS/Database system to a remore OID:
ldapsearch -h <oidhost> -p <port> -D cn=orcladmin -w <password> -s sub -b "cn=oraclecontext" objectclass=* dn
ld.so.1: ldapsearch: fatal: libldap50.so: open failed: No such file or directory
Killed
ld.so.1: ldapsearch: fatal: libldap50.so: open failed: No such file or directory
Killed
The issue can be reproduced at will with the following steps:
- Do not set any environment variables.
- Conduct an ldapsearch. For example: ldapsearch -h <OID_host> -p <OID_port> -v "cn=<cn name>"
- The error is reproduced.
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 |
Cause |
Solution |
References |