Yet another post


h1. Subversion installation

service apache2 stop
sudo apt-get install libapache2-svn

sudo vi /etc/apache2/mods-available/dav_svn.conf

service apache2 start

Remove  comments for Location...and change /repos to /svn and change path for passwd file to /etc/svn-auth-conf 

mkdir /var/svn
cd /var/svn

svnadmin create Inox
svnadmin load Inox < ~/dwnl/Inox.dmp
chown -R www-data.www-data /var/svn

# Setup webmin to create users instead, not sure how I did this though
htpasswd -cm /etc/subversion/passwd jonas

service apache2 restart

h2. LDAP Authentication



a2enmod authnz_ldap
/etc/init.d/apache2 restart

Give access to everyone in the LDAP directoty

sudo vi /etc/apache2/mods-available/dav_svn.conf

  AuthType Basic
  AuthName "Gizur"
  AuthBasicProvider ldap

  AuthzLDAPAuthoritative   Off
  AuthLDAPURL              "ldap://,dc=gizur,dc=com"

  Require valid-user