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

bug or user confusion?

From: Stephen Davis <subversion_at_soundgeek.org>
Date: 2005-03-06 19:55:20 CET

I was playing around with svnserve and created a scenario that seems
like a bug. Admittedly, it's contrived. I'll file an issue if
confirmed as a bug.

# assuming a repo at /svn

# create svnserve.conf like so:
password-db = users
realm = soundgeek

# anonymous users can do nothing
anon-access = none

# authenticated users can both read and write
auth-access = write

# create a users file like so (note that user1 and user2 have the same
user1 = passw
user2 = passw

# run svnserve
svnserve -d

# co repo as user1
svn co svn://localhost/svn user1 --username user1
< enter password >

# co repo as user2
svn co svn://localhost/svn user2 --username user2

*** no password is requested and the checkout occurs ***

If I look in the auth/svn.simple/ file for this realm, it has been
updated with user2's username.

K 8
V 5
K 15
V 32
<svn://localhost:3690> soundgeek
K 8
V 5

Even though the passwords are the same, should the auth system be
picking up the cached password from user1? Maybe this is by design but
it seems kind of odd to me.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Mar 6 19:57:45 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.