Thank you for your reply!
I hope you will be able answer to one more question (that is fit to dev list and not to users list): According to the link below mod_ldap should be compiled differently for each LDAP SDK (OpenLDAP SDK, Novell LDAP SDK, Mozilla LDAP SDK, native Solaris LDAP SDK or the native Microsoft LDAP SDK): https://httpd.apache.org/docs/current/mod/mod_ldap.html Where can I download mod_ldap for different LDAP SDK (for example for Mozilla LDAP SDK)? Or I should build it on my computer? What is default LDAP SDK that supported by mod_ldap in the httpd distribution. 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: cove...@gmail.com > To: dev@httpd.apache.org > > On Fri, Jun 14, 2013 at 3:45 PM, Michael Furman > <michael_fur...@hotmail.com> 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.