Thank you for your reply!
I have found the following: ldd /usr/lib64/apr-util-1/apr_ldap-1.so … libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f337a64d000) … and the following: rpm -ql openldap | grep ".so" ... /lib64/libldap-2.4.so.2 /lib64/libldap-2.4.so.2.5.6 ... I did not find anything related to /etc/httpd/conf/httpd.conf. Should I add libldap-2.4.so.2 or apr_ldap-1.so to the file if I want to use OpenLdap? Or other configuration? Thanks in advance for your help, Michael > Date: Fri, 14 Jun 2013 15:50:56 -0400 > Subject: Re: Where is configured the library used by Apache httpd server for > the ldap_search_ext_s implementation? > From: [email protected] > To: [email protected] > > On Fri, Jun 14, 2013 at 3:45 PM, Michael Furman > <[email protected]> wrote: > > Dear Apache developers! > > > > I want to understand where is configured the library used by Apache httpd > > server for the ldap_search_ext_s implementation. > > > > I looked at util_ldap.c: > > http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/ldap/util_ldap.c?view=markup > > > > result = ldap_search_ext_s(ldc->ldap, > > > > (char *)basedn, scope, > > > > (char *)filter, attrs, 0, > > > > NULL, NULL, NULL, APR_LDAP_SIZELIMIT, &res); > > > > > > > > The method ldap_search_ext_s can be implemented by different providers, > > include OpenLDAP, Novell LDAP SDK or iPlanet (Netscape) SDK. > > > > The flavor of LDAP SDK is detected when the "apr-util" dependency is > configured: > > srclib/apr-util$ ./configure --help|grep ldap > --with-ldap-include=path path to ldap include files with trailing slash > --with-ldap-lib=path path to ldap lib file > --with-ldap=library ldap library to use > > If you build httpd, apr, and apr-util all at once you usually pass > these flags to httpd's configure script and they are passed down to > apr-util. > > For recent releases, You can see the dependency baked into the > apr_ldap-1.so using ldd.
