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

Re: unable to login to svn repo

From: Thorsten Schöning <tschoening_at_am-soft.de>
Date: Tue, 24 Jul 2012 21:12:29 +0200

Guten Tag Kapur, Rajneesh,
am Dienstag, 24. Juli 2012 um 20:27 schrieben Sie:

> [general]
> anon-access = none
> auth-access = write
> password-db = passwd
> authz-db = authz
> realm = repo4
> [sasl]

Don't use autz-db until your problems are solved and I would suggest
to activate anon-access, too, just to get at least one successful
login.

> 3) passwd file
> [users]
> harry = harryssecret
> sally = sallyssecret

What are the file permissions of passwd and under which user is your
svnserve running? Maybe it's just a permission problem on OS level and
svnserve can't read it's configuration files.

> as it appears that "rkapur" is the user that I am logged in to this
> linux machine so somehow svn client asks me for that user's
> password. When I give it - it ignores and ask for username and
> password

Which is totally correct if the first login attempt fails.

> - which I gave as "harry" but I still get Authorization
> failed ? do you think it has to do with some permission because its
> not authentication error its authorization error. Any where I should
> look at or how to increase more logging on server side?

The authz contents doesn't lead to error messages, meaning
directories in your repo which you don't have any access to are just
ignored, wouldn't be able to checkout anything, wouldn't see all revs
in the logs etc. But I'm not aware of error message because of
forbidden paths. I would check file system permissions to your config
files for the repo and if svnserve can read all of them. Even try to
allow anon access.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening_at_AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
Telefon.............030-2 1001-310
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hanover HRB 207 694 - Geschäftsführer: Andreas Muchow
Received on 2012-07-24 21:13:04 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.