title: Subversion Server Using Active Directory
body: <p>I am running a Linux server under VMWare Workstation 11 for subversion control. I also have a Windows Server 2012 R2 domain controller running under another VM. I am using CentOS7 and want to configure the authentication to use active directory. My CentOS7 server is already joined to the domain and I can perform tasks to verify I am connected such as. </p>
  
  <pre><code>$id myuser
  </code></pre>
  
  <p>I installed the mod_ldap and everything seems to be ok but when I go to the web site and try to authenticate I get the following message in the error log. </p>
  
  <pre><code>[Thu Mar 05 13:04:32.976448 2015] [auth_basic:error] [pid 2541] [client 
  192.168.28.1:52099] AH01618: user myuser not found: /svn/testrepo
  </code></pre>
  
  <p>One thing I do not understand about this is that it is saying for client 192.168.28.1, when the DC is located at 192.168.28.3. Maybe something is wrong with that but I cannot figure out why it's showing the IP of the VMNet8 adapter. </p>
  
  <p>Here is the information from my /etc/httpd/conf.d/svn.conf file. </p>
  
  <pre><code>&lt;location /svn&gt;
  DAV svn
  SVNParentPath /svn
  AuthType Basic
  AuthName "Root Repo"
  AuthUserFile /dev/null
  AuthLDAPBindDN "CN=Apache User,CN=Users,DC=corp,DC=mydomain,DC=com"
  AuthLDAPBindPassword apachePassword
  AuthLDAPURL "ldap://192.168.28.3.corp.mydomain.com:389/DC=corp,DC=mydomain,DC=com?sAMAccountName?sub?(objectClass=*)"
  require valid-user
  &lt;/location&gt;
  </code></pre>
  
  <p>It seems no matter how I enter the credentials I always get the above error. </p>