Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Svnserve: Authorization failed oh god why?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
baneface
n00b
n00b


Joined: 26 Nov 2007
Posts: 1

PostPosted: Mon Nov 26, 2007 8:13 pm    Post subject: Svnserve: Authorization failed oh god why? Reply with quote

I'm a long-time subversion and gentoo user. However, I've recently emerged subversion on a new box (with the svnserve and apache2 USE flags), and something seems to be very wrong, as you can see from the following shell transcript. Any ideas what's broken here?

Code:

max@lingua ~ $ svnserve --version
svnserve, version 1.4.5 (r25188)
   compiled Nov 26 2007, 13:53:33

Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository back-end (FS) modules are available:

* fs_base : Module for working with a Berkeley DB repository.
* fs_fs : Module for working with a plain file (FSFS) repository.

max@lingua ~ $ rc-status
Runlevel: default
 hdparm                                                                                                 [ started  ]
 local                                                                                                  [ started  ]
 net.eth0                                                                                               [ started  ]
 netmount                                                                                               [ stopped  ]
 numlock                                                                                                [ started  ]
 sshd                                                                                                   [ started  ]
 svnserve                                                                                               [ started  ]
 syslog-ng                                                                                              [ started  ]
 vixie-cron                                                                                             [ started  ]
max@lingua ~ $ cat /etc/conf.d/svnserve
# The commented variables in this file are the defaults that are used
# in the init-script.  You don't need to uncomment them except to
# customize them to different values.

# Options for svnserve
#SVNSERVE_OPTS="--root=/var/svn"

# User and group as which to run svnserve
#SVNSERVE_USER="apache"
#SVNSERVE_GROUP="apache"
max@lingua ~ $ sudo ls -l /var/svn
total 28
-rwxr-xr-x 1 apache apache  229 Nov 26 14:43 README.txt
drwxr-xr-x 2 apache apache 4096 Nov 26 14:44 conf
drwxr-xr-x 2 apache apache 4096 Nov 26 14:43 dav
drwxr-sr-x 5 apache apache 4096 Nov 26 14:43 db
-rwxr-xr-x 1 apache apache    2 Nov 26 14:43 format
drwxr-xr-x 2 apache apache 4096 Nov 26 14:43 hooks
drwxr-xr-x 2 apache apache 4096 Nov 26 14:43 locks
max@lingua ~ $ sudo cat /var/svn/conf/passwd
### This file is an example password file for svnserve.
### Its format is similar to that of svnserve.conf. As shown in the
### example below it contains one section labelled [users].
### The name and password for each user follow, one account per line.

[users]
# harry = harryssecret
# sally = sallyssecret
max = angma
max@lingua ~ $ ls   
linguistica
max@lingua ~ $ svn import -m 'Import' . svn://localhost
svn: Authorization failed
max@lingua ~ $ svn --username max --password angma import -m 'Import' . svn://localhost
svn: Authorization failed
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum