/*
 * mod_access_ldap.c: LDAP-based access checking for Apache
 *
 * Lyonel VINCENT (vincent@trotek.ec-lyon.fr)
 * changes by Sam Alcoff (alcoff@survival.net) to compile with
 *   Apache 1.3
 * changes by Rick Perry (perry@ece.vill.edu): bugs fixes and code
 *   cleanups.
 *
 * Version 1.4 (Oct 1998)
 *
 * based on the mod_auth_ldap.c module written by
 * Norman RICHARDS (orb@cs.utexas.edu)
 *
 * =============================================
 *
 * For more information on LDAP, see the LDAPWorld web 
 * page at:  http://www.critical-angle.com/ldapworld/
 *
 * =============================================
 *
 * The goal of this module is to allow access checking 
 * through user information stored in an LDAP directory. 
 *
 * This module works very similarly to other access checking
 * modules.
 * 
 * To use the module, you need to add this file to your 
 * apache src directory.  Add the following line to your
 * Configuration file:
 *
 *     Module ldap_module     mod_ldap.o
 *
 * You will also need to add the appropriate locations
 * for your ldap/lber libraries and includes to 
 * EXTRA_LIBS and EXTRA_INCLUDES.
 *
 * =============================================
 *
 * The following directives can be used in your access.conf
 * file in the same way as you would configure the standard
 * authentication modules.
 *
 * LDAPAuth <flag>
 *
 * LDAPServer <LDAP URL>
 *
 *   This sets the LDAP server to be used.  The ldap url 
 *   is of the form "ldap://yourhost.com/"
 *
 * LDAPBindName <Distinguished Name>
 * LDAPBindPass <password>
 *
 *   If the module needs to authenticate itself, enter the user 
 *   name and password here.
 *
 * The LDAP-specific require directive for <limit> is:
 *
 * require filter <LDAP search filter>
 *
 *   The search filter is in LDAP standard format as specified by
 * RFC1960
 *
 * =============================================
 * example:
 *	LDAPServer	ldap://x500.hp.com/
 *	require	filter	(|(&(ou=ENSD)(l=Grenoble))(ou=HP Labs))
 */
