To let Apache search an LDAP tree, we use AuthLDAPBindDN and AuthLDAPBindPassword to bind during the search phase. But to increase performance, you should bind a test uid.
For examples:
AllowOverride None
AuthName “Auth Name”
AuthType Basic
AuthLDAPURL ldap://192.168.0.1:389/ou=Users,dc=local,dc=host?uid
AuthLDAPBindDN “uid=test,ou=Users,dc=local,dc=host”
AuthLDAPBindPassword “test”
Require group cn=grTest,dc=local,dc=host
Require user test