[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7005) Collision of LDAP calls between Oracle, Curl and OpenLDAP libraries

Full_Name: Mahesh P
Version: 2.4.23
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


We have one application which will use the Oracle DB, OpenLDAP and Curl
We have started the LDAP server. And we want to perform search/add/update
operations using LDAP calls ldap_search_ext_s(), ldap_add_ext_s() and

While performing the search Operation, getting the "Bad Search Filter" error.
In the application code we have used the ldap_initialize() for getting the LDAP
handle.I am thinking this problem is result of the collision of LDAP calls
between Oracle Library and OpenLDAP,Curl libraries.

When we did nm on libclntsh.so.11.1, got the references for

0000000001055732 T ldap_search_ext
0000000001055594 T ldap_search_ext_s
0000000001051714 T ora_ldap_search_ext
000000000105145a T ora_ldap_search_ext_s

If we try to have a standalone program without any database connectivity same
LDAP code is working fine for the search/add/modify operations.

Kindly please advise how we can avoid the problem if we use Oracle DB, OpenLDAP
and CURL functionality in out application code.