1 Quick installation instructions (UNIX):
3 - Building on generic Unix:
5 Add generic ldap support and the TWO ldap modules to the build, like this:
7 ./configure --with-ldap --enable-ldap --enable-authnz-ldap
9 The --with-ldap switches on LDAP library linking in apr-util. Make
10 sure that you have an LDAP client library available such as those
11 from Netscape/iPlanet/Sun One or the OpenLDAP project.
13 The --enable-ldap option switches on the LDAP caching module. This
14 module is a support module for other LDAP modules, and is not useful
15 on its own. This module is required, but caching can be disabled
16 via the configuration directive LDAPCacheEntries.
18 The --enable-auth-ldap option switches on the LDAP authentication
23 The following ./configure line is reported to work for AIX:
26 CPPFLAGS=-qcpluscmt;export CPPFLAGS
27 ./configure --with-mpm=worker --prefix=/usr/local/apache \
28 --enable-dav=static --enable-dav_fs=static --enable-ssl=static
29 --with-ldap=yes --with-ldap-include=/usr/local/include
30 --with-ldap-lib=/usr/local/lib --enable-ldap=static
31 --enable-authnz-ldap=static
34 Quick installation instructions (win32):
36 1. copy the file srclib\apr-util\include\apr_ldap.hw to apr_ldap.h
37 2. the netscape/iplanet ldap libraries are installed in srclib\ldap
38 3. Compile the two modules util_ldap and mod_authnz_ldap using the dsp files
39 4. You get a mod_authnz_ldap.so and a mod_ldap.so module
40 5. Put them in the modules directory, don't forget to copy the
41 nsldap32v50.dll somewhere where httpd.exe will find it
42 6. Load the two modules in your httpd.conf, like below:
43 LoadModule ldap_module modules/mod_ldap.so
44 LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
45 7. Configure the directories as described in the docus.