I am trying to use LDAP authentication for a Subversion repository accessed through Apache HTTP Server. No matter what I try, Apache generates the following error message:
authentication failed; URI /repos/branches/my-branch [ldap_search_ext_s() for user failed][Operations Error]
I used the AD explorer from Sysinternals to connect to my AD server and can see the data there, so I assume this is a problem with my LDAP URL search string. I tried several options, but always get the above error. Here is what I have in my httpd.conf. Any suggestions or ideas for diagnosing this will be appreciated.
<Location /repos>
DAV svn
SVNPath C:\repos
AuthType Basic
AuthzLDAPAuthoritative off
AuthBasicProvider ldap
AuthName "IT Subversion repository"
AuthLDAPURL "ldap://x.y.z.com:389/DC=y,DC=z,DC=com?sAMAccountName?sub?(objectClass=user)" NONE
Require valid-user
</Location>
source
share