title: Subversion Apache2.2 LDAPS authentication failed
body: <p>OS: Redhat Linux
  Subversion: 1.5.0
  Apache: 2.2.17</p>
  
  <p>httpd.conf:</p>
  
  <pre><code>LDAPSharedCacheSize 200000
  LDAPCacheEntries 1024
  LDAPCacheTTL 600
  LDAPOpCacheEntries 1024
  LDAPOpCacheTTL 600
  
  &lt;Location /svn&gt;
  DAV svn
  SVNParentPath /home/svnroot/repository
  AuthzSVNAccessFile /home/svnroot/repository/svn_access_file
  AuthType Basic
  AuthBasicProvider ldap
  AuthzLDAPAuthoritative off
  AuthLDAPURL "ldaps://master.ldap.ebupt.com:636/OU=staff,DC=ebupt,DC=com?uid?sub?(objectClass=*)" SS
  L
  AuthName "Subversion.resository"
  Require valid-user
  &lt;/Location&gt;
  </code></pre>
  
  <p>Apache error_log:</p>
  
  <pre><code>[Thu Feb 24 16:48:00 2011] [debug] mod_authnz_ldap.c(403): [client 10.1.85.181] [25242] auth_ldap a
  uthenticate: using URL ldaps://master.ldap.ebupt.com:636/OU=staff,DC=ebupt,DC=com?uid?sub?(objectCl
  ass=*)
  [Thu Feb 24 16:48:00 2011] [info] [client 10.1.85.181] [25242] auth_ldap authenticate: user jinjian
  kang authentication failed; URI /svn [LDAP: ldap_simple_bind_s() failed][Can't contact LDAP server]
  </code></pre>
  
  <p>ping master.ldap.ebupt.com is OK.</p>
  
  <p>My FTP LDAPS authentication is OK as below:</p>
  
  <pre><code>server:master.ldap.ebupt.com
  port:636
  Enable SSL:checked
  Base DN:ou=staff,dc=ebupt,dc=com
  anonymous:checked
  Search Filter:(objectClass=*)
  User DN attribute:uid
  Search scope:subtree
  </code></pre>