I want to do basic http authentication in Apache 2.2 on Windows with LDAP server (Active Directory).
Unfortunately our server doesn't support anonymous requests, so I have to use AuthLDAPBindDN and AuthLDAPBindPassword directives, but I can't create separate account for this either :( .
So I was thinking about something like:
AuthLDAPBindDN %{USER}
AuthLDAPBindPassword %{PASSWORD}
Where USER and PASSWORD are extracted from HTTP request.
This is needed because Apache 2.2 does not support AuthLDAPCompareAsUser directive.