# Apache auth_ldap must be installed
# openldap must be installed, slapd must run
# call this .htaccess and put in directory to protect

AuthName "LDAP Realm"
AuthType Basic
AuthLDAPURL ldap://127.0.0.1:389/dc=example,dc=com?uid
AuthLDAPBindDN   'cn=Manager,dc=example,dc=com'
AuthLDAPBindPassword secret
require valid-user
