You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "John P. Dodge" <do...@cruciate.ca.boeing.com> on 2006/11/14 00:51:01 UTC

Re: [users@httpd] Trouble building mod_auth_ldap with Mozilla LDAP C SDK 6.0, Apache 2.0.59 on ia64

On Wed, 8 Nov 2006, Mark Lavi wrote:

> Hello everyone:
>
> I've successfully built Apache 2.0.59 with many modules, but I'm having
> trouble adding mod_auth_ldap to connect to an older Netscape Directory
> Server via SSL.
>
> Because of the LDAP over SSL requirement, I believe I'm restricted to
> use the Netscape(>iPlanet>Sun>RedHat)>Mozilla LDAP C SDK rather and
> OpenLDAP's libraries.
>
> Questions:
>
> 1) Is this the best place to ask about building mod_auth_ldap?
> 2) Is it possible to use OpenLDAP libraries instead of Mozilla LDAP C
> SDK to do a ldaps:// connection?
> 3) ./modules/experimental/README.ldap implies that this module is still
> experimental -- is that true?
> 4) Is mod_auth_ldap planned to support the Mozilla LDAP C SDK, version
> 6?
>    From what I've seen (details below), it does not support version 6.
> 5) Should I file a bug to build against Mozilla LDAP C SDK, version 6?
>

2.0.x defaults (prefers) to build with OpenLDAP and you need to fiddle
with the APR headers (as you showed) to get it to build with anything
else.

OpenLDAP now supports SSL (ldaps) so I would encourage you to use it in
conjunction with OpenSSL. You should build the latest OpenLDAP version
(2.23 or something) and you can disable all the server side daemon stuff
(--disable-slapd --disable-slurpd) and just build the libs and includes.

Then use the directives --with-ldap, --with-ldap-dir=<openladp dir> to
build HTTPD with LDAP.




----------------------------------------
"Mon aƩroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org