A friend asked me to share my apache LDAP authentication configuration, so I decided that if one person could use it, then so could more; so here is a snippet of my config.

  <Location />
AuthBasicProvider ldap
AuthzLDAPAuthoritative on

AuthLDAPURL ldap://auth.example.com/dc=example,dc=com?uid
Require valid-user