Giter VIP home page Giter VIP logo

Comments (2)

elleFlorio avatar elleFlorio commented on May 25, 2024

Hello,

Sorry but I don't have enough information to understand this issue. Looks more like an issue of the web interface itself.

from svn-docker.

petros-d avatar petros-d commented on May 25, 2024

In case anyone else comes across this, I was hitting this exact same error and found a resolution.

The issue existed after setting the LDAP connection information, LDAP user provider information and the LDAP group provider information. The fix was to configure the other settings available, with the correct values for this Docker image shown below:

Subversion authorization file: /etc/subversion/passwd
Parent directory of repositories: /home/svn
Subversion client executable: /usr/bin/svn
Subversion admin executable: /usr/bin/svnadmin

That solved the error raised here, but I then hit other issues with getting Apache to authenticate users with LDAP, for that I had to install an additional package apk add apache2-ldap, as well as edit the /etc/apache2/conf.d/dav_svn.conf file, to add the following:

AuthBasicProvider ldap
AuthLDAPURL "ldap://ldap.example.com/OU=SVN,DC=example,DC=com?sAMAccountName"
AuthLDAPBindDN "CN=svn-bind,OU=SVN,DC=example,DC=com"
AuthLDAPBindPassword "password"

This got LDAP auth on the Apache side for the /svn endpoint just about working, with some caveats:

  1. LDAP binds are not over SSL (see mfreiholz/iF.SVNAdmin#158 for another issue)
  2. Permissions for the SVN repos didn't seem consistent with access paths (users got errors when trying to push)
  3. Old Alpine image, potential security issues

It's at this point, I figured this wasn't ideal for a production SVN server with LDAP support, and went searching for alternatives. For those curious, SVN Edge looked to be a good option, and was easy enough to setup:
Docker image: https://hub.docker.com/r/svnedge/app
Install docs: https://ctf.open.collab.net/sf/wiki/do/viewPage/projects.svnedge/wiki/Docker
Docs on auth: http://help.collab.net/index.jsp?topic=/csvn/action/configurecsvn_authentication.html

@elleFlorio thanks for this project and the related blog post, was a great intro to running SVN in Docker!

from svn-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.