README.ldap 1.8 KB

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