You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by St...@isceco.admin.ch on 2005/02/24 12:02:45 UTC

[users@httpd] build of apache2 with mod_auth_ldap

Hello,

Has somebody know-how how to build Apache with the embedded mod_auth_ldap on
Solaris 9? 
I configure the build with the following options:

configure --prefix=/usr/local/apache2 --enable-mods-shared=all
--enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl  --with-ldap
--enable-ldap --enable-auth-ldap --with-ldap-lib=/usr/local/lib
--with-ldap-include=/usr/local/include

OpenLDAP is installed in /usr/local.

This build works fine with OpenLDAP as LDAP Server, on another linux
machine. But when I try to use Active Directory as LDAP Server, I have
problems.

Thank you for the help


 

---------------------------------------------------------------------
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


Re: [users@httpd] build of apache2 with mod_auth_ldap

Posted by Daniel Sand <da...@pixelpark.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Hi Stephane,

in only have a hint.

the mod_auth_ldap module is a little bit borked. ( because it's in
experiment tree :) )

check under you build dir the "srclib/apr-util/include/apr_ldap.h file

line 75 '#define APR_HAS_OPENLDAP_LDAPSDK 1'

its setted hard. so it wont use any other then OPENLDAP :-P

replace the 'APR_HAS_OPENLDAP_LDAPDSK' against one of your wishes below:

APR_HAS_NETSCAPE_LDAPSDK
APR_HAS_NOVELL_LDAPSDK
APR_HAS_OPENLDAP_LDAPSDK
APR_HAS_MICROSOFT_LDAPSDK
APR_HAS_OTHER_LDAPSDK

oh and change the file AFTER you made the configure...

maybe its the right clue.... maybe not.

if not maybe this will help ->
http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap_apache2.html

3rd Party mod_auth_ldap module.

so long
Daniel

Stephane.Ruffieux@isceco.admin.ch schrieb:

| Has somebody know-how how to build Apache with the embedded
| mod_auth_ldap on Solaris 9? I configure the build with the
| following options:
|
| configure --prefix=/usr/local/apache2 --enable-mods-shared=all
| --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl
| --with-ldap --enable-ldap --enable-auth-ldap
| --with-ldap-lib=/usr/local/lib
| --with-ldap-include=/usr/local/include
|
| OpenLDAP is installed in /usr/local.
|
| This build works fine with OpenLDAP as LDAP Server, on another
| linux machine. But when I try to use Active Directory as LDAP
| Server, I have problems.

- --
- --
Pixelpark AG . . . . . . . . . . . . . . . . . . . . . . . . .
Daniel Sand  .  Webmaster . http://www.pixelpark.com
rotherstr. 8 .  10245 Berlin  .  Germany
phone: + 49.30.505.8 - 1790

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
iD8DBQFCHet8ljw78P4GKPoRAoQhAJ9srzwnj0BhwriMKpxenAtHW6A6kACfSkXp
9VGdpNLlqqZxU015uRdOMk4=
=SXRA
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
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