upload http
[bottlenecks.git] / rubbos / app / httpd-2.0.64 / modules / experimental / README.ldap
1 Quick installation instructions (UNIX):
2
3 - Building on generic Unix:
4
5   Add generic ldap support and the TWO ldap modules to the build, like this:
6
7   ./configure --with-ldap --enable-ldap --enable-auth-ldap
8
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.
12
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.
17
18   The --enable-auth-ldap option switches on the LDAP authentication
19   module.
20
21 - Building on AIX:
22
23   The following ./configure line is reported to work for AIX:
24
25     CC=cc_r; export CC
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-auth_ldap=static
32
33
34 Quick installation instructions (win32):
35
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_auth_ldap using the dsp files
39 4. You get a mod_auth_ldap.so and a util_ldap.so module
40 5. Put them in the modules directory, don't forget to copy the
41    nsldap32v50.dll somewhere where apache.exe will find it
42 6. Load the two modules in your httpd.conf, like below:
43    LoadModule ldap_module modules/util_ldap.so
44    LoadModule auth_ldap_module modules/mod_auth_ldap.so
45 7. Configure the directories as described in the docus.
46
47