################################################################################
#
# Apache2 KIT-LDAP authentication file.
#
# The KIT-LDAP authentication file contains and includes configuration options
# that allow authentication against the kit.edu LDAP servers. It can be
# included from within a <Directory> but not from a .htaccess file. A common
# setup would be:
#
#   AuthName		"My private homepage"
#   Include		/etc/apache2/include/auth_ldap
#   Require		valid-user
# or:
#   Require		ldap-attribute gidNumber=<GID>
#   Require		ldap-group cn=<GROUP>,ou=Groups,ou=unix,ou=IDM,dc=kit,dc=edu
#
# When authenticating a group, both Require entries (for the group id and the
# group name) must be specified, since only the first matches for primary and
# only the latter for secondary group memberships.

<IfModule mod_auth_basic.c>
	AuthType			Basic
<IfModule mod_authnz_ldap.c>
	AuthBasicProvider		ldap
	Include				/etc/apache2/include/ldap
</IfModule>
</IfModule>
