[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svnserv Authorization failed when attempting checkout

From: David Croxford <dcroxford_at_paciolan.com>
Date: 2006-07-20 01:25:25 CEST

First time doing this, installed svn on a windows 2000 machine. I setup
the files as follows.

Svnserve.conf

[general]

anon-access = read

auth-access = write

password-db = passwd

authz-db = authz

realm = QA Repository

 

authz

[groups]

QA = dcroxford

 

#I've tried this

[/QA/]

dcroxford = rw

# * =

 

#I've tried this

[D:\QA\]

dcroxford = rw

# * =

 

#and ive tried this along with [repository:/QA/]

[repository:D:\QA\]

dcroxford = rw

# * = r

 

Passwd

[users]

dcroxford = workdammit

 

On the server I create a new repository on the D drive D:\QA\ (although
I have nothing in it at the moment).

I open a cmd window and type svnserv -d

It appears to be running.

 

On my PC I'm using tortoiseSVN. I go to my C drive and do the following:

1. Right click and select "SVN Checkout"
2. for the url of repository I enter svn://ip.address/QA
3. For the checkout directory I enter C:\QA (where I want it to
land on my pc)
4. Click OK
5. I am prompted for username/password and it shows
<svn:ip.address:port> QA Repository
6. I enter dcroxford for the username
7. I enter workdammit for the password
8. I get a new window with an error in it "Error
Authorization failed"

 

I have tried everything I can think of. I searched google and only found
this error for people using Apache. Any ideas as to why it thinks I
don't have authorization?

 

 I get a different error when the password is wrong or username doesn't
exist, so it appears to be reading the correct files on the server.
Received on Thu Jul 20 02:25:11 2006

This is an archived mail posted to the Subversion Users mailing list.