If your LDAP server is being spammed and then locking out your SVN directory you can turn off the auth by changing the file:

nano /etc/openproject-ce/addons/apache2/includes/vhost/svn_dav.conf

 

Just remember this will make it insecure (I have found this useful for big uploads or first commits) as in it will not require a password to access the SVN

change to:

ProxyPass /svn !

 

<Location /svn>

  ErrorDocument 401 default

  ErrorDocument 403 default

  ErrorDocument 404 default

 

  DAV svn

  SVNParentPath "/var/db/openproject-ce/svn"

  DirectorySlash Off

 

  OpenProjectUrl 'http://127.0.0.1:6000'

  OpenProjectApiKey 'oSkBTecrHKAGc3sHSNh8leGMnYISK6BL'

</Location>

 

The original looks like this with the _Values being changed at install time:

 

 

ProxyPass /svn !

 

<Location /svn>

  ErrorDocument 401 default

  ErrorDocument 403 default

  ErrorDocument 404 default

 

  DAV svn

  SVNParentPath "_SVN_REPOSITORIES_"

  DirectorySlash Off

 

  AuthType Basic

  AuthName "Secured Area"

  Require valid-user

 

  PerlAccessHandler Apache::Authn::OpenProject::access_handler

  PerlAuthenHandler Apache::Authn::OpenProject::authen_handler

 

  OpenProjectUrl '_APP_URI_'

  OpenProjectApiKey '_APP_API_KEY_'

</Location>