summaryrefslogtreecommitdiffstats
path: root/modules/experimental/README.ldap
blob: 3ae9f16166c5b4e931027dd43c14cf38b4955f71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Quick installation instructions (UNIX):

- Add generic ldap support and the TWO ldap modules to the build, like this:

  ./configure --with-ldap --enable-ldap --enable-auth-ldap

  The --with-ldap switches on LDAP library linking in apr-util. Make
  sure that you have an LDAP client library available such as those
  from Netscape/iPlanet/Sun One or the OpenLDAP project.

  The --enable-ldap option switches on the LDAP caching module. This
  module is a support module for other LDAP modules, and is not useful
  on its own.  This module is required, but caching can be disabled
  via the configuration directive LDAPCacheEntries.

  The --enable-auth-ldap option switches on the LDAP authentication
  module.

Quick installation instructions (win32):

1. copy the file srclib\apr-util\include\apr_ldap.hw to apr_ldap.h
2. the netscape/iplanet ldap libraries are installed in srclib\ldap
3. Compile the two modules util_ldap and mod_auth_ldap using the dsp files
4. You get a mod_auth_ldap.so and a util_ldap.so module
5. Put them in the modules directory, don't forget to copy the
   nsldap32v50.dll somewhere where apache.exe will find it
6. Load the two modules in your httpd.conf, like below:
   LoadModule ldap_module modules/util_ldap.so
   LoadModule auth_ldap_module modules/mod_auth_ldap.so
7. Configure the directories as described in the docus.