Comments (2)
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.
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:
- LDAP binds are not over SSL (see mfreiholz/iF.SVNAdmin#158 for another issue)
- Permissions for the SVN repos didn't seem consistent with access paths (users got errors when trying to push)
- 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)
- Error: Access to '/svn/Demo/!svn/me' forbidden when commit file HOT 12
- a bug of svn version,please upgrade to the newest svn version,thank you HOT 2
- Error with user named 'admin' HOT 1
- Strange questions about user permissions HOT 2
- A question about user rights configuration taking effect in real time HOT 1
- apk add python py-pip HOT 1
- line 8: /usr/sbin/apachectl: not found HOT 1
- Configuration persistence HOT 8
- iF.SVNAdmin login failed HOT 4
- svnadmin: Error: Could not copy configuration file template HOT 5
- apachectl: not found HOT 3
- possible to run and map to ports other than 80:80
- LDAP Authentification HOT 4
- Volume for svn-access control HOT 3
- svnadmin works but svn DAV does not HOT 1
- Access control via `svn:/` HOT 2
- Change timezone possible? HOT 1
- solved: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.23.0.2. Set the 'ServerName' directive globally to suppress this message HOT 2
- Allow for option to disable WebDAV HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svn-docker.