[nona.net home]
not logged inlog in
> home> software> mod_auth_ldap> compile
random photo

compiling with Apache

mod_auth_ldap compilation

Prerequisites ::
First, you need of course both Apache and mod_auth_ldap source archives. If you can't find Apache on your favourite ftp archive, give httpd.apache.org(link, external) a try. mod_auth_ldap is available here (18kB, tar.gz). Additionally, you will need to install LDAP libraries. If you don't already have them, the chances are high that you may not have found what you were looking for when you reached this site. Check out www.openldap.org(link, external) for a free LDAP implementation. Finally, you do of course need a working build environment on your machine.
Unpacking the stuff ::
Unpack Apache as usual, and change into it's "modules" directory:
% gzip -dc ../path/to/archive/apache_1.3.6.tar.gz | tar -xv
% cd apache_1.3.6/src/modules 
Then, unpack the mod_auth_ldap archive into the modules directory, e.g.
% gzip -dc ../path/to/archive/mod_auth_ldap-0.5.1.tar.gz | tar -xv
Configuring, Building, Installing ::
Change into the newly created "mod_auth_ldap" directory, and configure the module itself (some parts of the sha algorithm are endian-dependent, and endianess is not checked by the Apache configure script, so the module comes with it's own autoconf script).
% cd mod_auth_ldap; ./configure 
Now it's time to choose your favorite apache Config options, and additionally activate the LDAP authentication module.
% cd ../../..; ./configure --prefix=/var/apps/apache \
After Apache has been configured to your choice, make and install it as usual:
% make
[ build messages deleted ]
% make install 

more resources
Apache LDAP related links
mod_auth_ldap(link, external) (apache.org version)

related resources
other Apache LDAP Authentication modules
unordered (and probably incomplete) list ::
mod_auth_ldap(link, external) apache.org
auth_ldap(link, external) rudedog.org
mod_auth_ldap(link, external) muquit.com
mod_authz_ldap(link, external) othello.ch
mod_ldap(link, external) kie.berkeley.edu
mod_ldap(link, external) ec-lyon.fr