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

SVN not asking for authorization

From: Dave Merrill <dmerrill_at_usa.net>
Date: 2005-05-21 00:49:28 CEST

SVN newb here, aplogies if this is all obvious...

I'm not sure if this is a Subversion or TortoiseSVN issue, but TortoiseSVN
doesn't seem to require any kind of authorization to access a file-based
repository on the same machine (win2k).

svn/repositoryname/conf/svnserve.conf contains the following (among other
things):

----------------
[general]
password-db = passwd
realm = Subversion repositories
anon-access = none

[auth]
store-auth-creds = no
----------------

In that same dir, the file passwd contains the following (only):
----------------
[users]
someusername = somepassword
----------------

I thought these settings should mean that anonymous users weren't allowed,
that only the user 'someusername' was allowed, and they they'd have to
present the password 'somepassword' to get in.

TortoiseSVN seems to be able to do anything it wants to that repository,
without any of that.

I've clicked the 'Clear Auth Cache' btn in TortoiseSVN, and restarted my
machine. I've also checked all directories under here:
  C:\Documents and Settings\MyUserName\Application Data\Subversion\auth
...to see if any auth info was cached there, and they're all empty.

Another odd thing is that all changes show up in svn as made by the login
user of this machine, which is *not* a name I would have used for the
repository login. I'd much prefer that they appeared under the name I used
in the svn passwd file, and besides, that seems to indicate that tortoise is
being authorized on some other level.

Am I doing something wrong here? Does windows short-circuit svn's
authorization scheme for repositories on the same machine (just guessing).
Is this about svn or tortoise? Anything else I should try?

Thanks for any help,

Dave Merrill

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 21 00:51:11 2005

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.