Apache and Active Directory authentication

Posted by synapse on Server Fault See other posts from Server Fault or by synapse
Published on 2010-10-13T16:38:37Z Indexed on 2010/12/23 20:55 UTC
Read the original article Hit count: 208

Filed under:
|
|

I'm having trouble with LDAP authentication in Apache 2.2. Here's the excerpt from httpd.conf

<Location /folder>
   AuthType Basic
   AuthName "Project"
   AuthBasicProvider ldap
   AuthLDAPBindDN "user@domain"
   AuthLDAPBindPassword "my_password"
   AuthLDAPURL "ldap://my_domain_controller/?samAccountName?sub?(objectClass=user)"
   Require valid-user
</Location>

I keep getting "ldap_search_ext_s() for user failed" in error.log. I tried using my quoted DN as AuthLDAPBindDN but results were the same. What could be the problem?

© Server Fault or respective owner

Related posts about apache

Related posts about active-directory