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

Re: Subversion access control

From: Andy Canfield <andy.canfield_at_pimco.mobi>
Date: Tue, 19 Jul 2011 17:50:27 +0700

OFF THE SUBJECT OF APACHE, NOW TRYING TO ACCESS SVNSERVE VIA PORT 3690

/var/svn/config/svnserve.conf has been changed from the default to show
*anon-access = none
password-db = passwd
authz-db = authz*

The passwd file contains
*andy = canfield*

The authz file contains:
*[/sample]
andy = rw*

The repository /var/svn/sample contains a subdirectory 'conf' containing
svnserve.conf, passwd, and authz files which are symbolic links to the
files in /var/svn/config.

The svnserve was run with this command:
*/usr/bin/svnserve --daemon --root=/var/svn
--config-file=/var/svn/config/svnserve.conf
*
I have one repository defined named "sample". The command:
* svn info svn://localhost/sample
*Gave this response:
*Authentication realm: <svn://localhost:3690>
5a3a5c16-49ac-46d9-b1e8-d48cc97c4754
Password for 'andy':
Authentication realm: <svn://localhost:3690>
5a3a5c16-49ac-46d9-b1e8-d48cc97c4754
Username: andy
Password for 'andy':
-----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:

<svn://localhost:3690> 5a3a5c16-49ac-46d9-b1e8-d48cc97c4754

can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/Users/andy/.subversion/servers'.
-----------------------------------------------------------------------
Store password unencrypted (yes/no)? yes
svn: Authorization failed
*
[1] Why does it ask for the password for "andy", then ask for a user
name and password?

[2] What is an authentication realm?

[3] Why does it talk about STORING my password, when as far as I know
all subversion does is check your password against the contents of the
passwd file.

[4] Why doesauthentication fail?

[5] Why does authentication fail immediately afer the first time?

[6] I now have an entire directory tree named ".subversion" in my home
directory. I have no idea what any of this stuff is or is supposed to
be. Is this what is blocking me from my repository?

[7] The repository was created by svnadmin create ... which has to be
executed as root. Does this mean that only root can access this
repository from now on? That doesn't make sense.
Received on 2011-07-19 12:51:17 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.