--with-suexec-bin=%{_sbindir}/suexec \
--with-suexec-uidmin=500 --with-suexec-gidmin=500 \
--with-devrandom \
- --with-ldap --enable-ldap --enable-auth-ldap \
+ --with-ldap --enable-ldap --enable-authnz-ldap \
--enable-cache --enable-disk-cache --enable-mem-cache \
--enable-ssl --with-ssl \
--enable-deflate --enable-cgid \
Add generic ldap support and the TWO ldap modules to the build, like this:
- ./configure --with-ldap --enable-ldap --enable-auth-ldap
+ ./configure --with-ldap --enable-ldap --enable-authnz-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
--enable-dav=static --enable-dav_fs=static --enable-ssl=static
--with-ldap=yes --with-ldap-include=/usr/local/include
--with-ldap-lib=/usr/local/lib --enable-ldap=static
- --enable-auth_ldap=static
+ --enable-authnz-ldap=static
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
+3. Compile the two modules util_ldap and mod_authnz_ldap using the dsp files
+4. You get a mod_authnz_ldap.so and a mod_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
+ LoadModule ldap_module modules/mod_ldap.so
+ LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
7. Configure the directories as described in the docus.