d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesQuick installation instructions (UNIX):
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes- Building on generic Unix:
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes Add generic ldap support and the TWO ldap modules to the build, like this:
abcf914f3e30cd619eb1e8593554ccfca4fe57d5bnicholes ./configure --with-ldap --enable-ldap --enable-authnz-ldap
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes The --with-ldap switches on LDAP library linking in apr-util. Make
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes sure that you have an LDAP client library available such as those
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes from Netscape/iPlanet/Sun One or the OpenLDAP project.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes The --enable-ldap option switches on the LDAP caching module. This
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes module is a support module for other LDAP modules, and is not useful
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes on its own. This module is required, but caching can be disabled
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes via the configuration directive LDAPCacheEntries.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes The --enable-auth-ldap option switches on the LDAP authentication
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes- Building on AIX:
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes The following ./configure line is reported to work for AIX:
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes CC=cc_r; export CC
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes CPPFLAGS=-qcpluscmt;export CPPFLAGS
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes ./configure --with-mpm=worker --prefix=/usr/local/apache \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes --enable-dav=static --enable-dav_fs=static --enable-ssl=static
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes --with-ldap=yes --with-ldap-include=/usr/local/include
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes --with-ldap-lib=/usr/local/lib --enable-ldap=static
abcf914f3e30cd619eb1e8593554ccfca4fe57d5bnicholes --enable-authnz-ldap=static
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesQuick installation instructions (win32):
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes1. copy the file srclib\apr-util\include\apr_ldap.hw to apr_ldap.h
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes2. the netscape/iplanet ldap libraries are installed in srclib\ldap
abcf914f3e30cd619eb1e8593554ccfca4fe57d5bnicholes3. Compile the two modules util_ldap and mod_authnz_ldap using the dsp files
abcf914f3e30cd619eb1e8593554ccfca4fe57d5bnicholes4. You get a mod_authnz_ldap.so and a mod_ldap.so module
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes5. Put them in the modules directory, don't forget to copy the
0e16ae40a252fc71f93d0e5afe15b614c810e814pctony nsldap32v50.dll somewhere where httpd.exe will find it
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes6. Load the two modules in your httpd.conf, like below:
abcf914f3e30cd619eb1e8593554ccfca4fe57d5bnicholes LoadModule ldap_module modules/mod_ldap.so
abcf914f3e30cd619eb1e8593554ccfca4fe57d5bnicholes LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes7. Configure the directories as described in the docus.