"svn: Authorization failed"; what am I doing wrong?
Hi all,
I'm trying to set up a subversion server for storing my personal projects. However, I can't actually get it working!
I've installed subversion on my server (Debian etch, subversion version 1.4.2 (r22196)), created the repository and edited the relevant files. The firewall (Shorewall) is set to allow svn traffic to and from the local network.
On the server:
drtwox@server:~$ mkdir svn
drtwox@server:~$ svnadmin create svn
drtwox@server:~$ vim svn/conf/svnserve.conf
[general]
anon-access = none
auth-access = write
password-db = passwd
authz-db = authz
realm = projects
drtwox@server:~$ vim svn/conf/passwd
[users]
drtwox = password
drtwox@server:~$ vim svn/conf/authz
[projects:/home/drtwox/svn]
drtwox = rw
drtwox@server:~$ svnserve -r /home/drtwox/svn/ -d
On the client:
drtwox@thinkpad:~$ mkdir project
drtwox@thinkpad:~$ rm -fr /home/drtwox/.subversion/auth/
drtwox@thinkpad:~$ svn import project svn://server/home/drtwox/svn -m "Initial import"
Authentication realm: <svn://server:3690> projects
Password for 'drtwox': password
svn: Authorization failed
What am I doing wrong?
Last edited by DrTwox; 02-02-2009 at 02:58 PM.
|