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

Re: password-db failure?

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2004-03-02 22:52:56 CET

HI!

Well you've found your way to the right file, but the solution should be
this:

Standard the svnserve.conf file does not allow commits by anyone. If you
want anybody to be able to commit to the repository, you need to put in either:

auth-access = write
(for write access for authenticated users)
or

anon-access = write
(for write acces for non-authenticated users)

in the [general] section.

A description of what you can do to configure svnserve wrt authentication is
right above where you found the information on the format of the users file.

HTH,

Erik.

>
> I'm trying to set up svnserve with a source repository, and, well, it
> isn't
> working :) I've narrowed down the weirdness finally. Without a
> password-db,
> it seems to work fine (though with no security so this obviously isn't a
> very tenable solution). With a password-db, I get the error that my
> respository doesn't exist. I can comment the line out and put it back and
> duplicate this behavior as many times as I want, with an otherwise-empty
> svnserve.conf (well, [general] before the password-db line.)
>
> svnserve.conf:
>
> ----
> [general]
> password-db = ../../users
> ----
>
> (or - same behavior)
>
> ----
> [general]
> password-db = /usr/local/svn/users
> ----
>
> /usr/local/svn/users:
>
> ----
> [users]
> myusername = mypassword
> ----
>
> With password-db commented out/removed, I get:
>
> ----
> $ svn import mv svn://servername/mv --username myusername
>
> Log message unchanged or not specified
> a)bort, c)ontinue, e)dit
> c
> svn: Connection is read-only
> ----
>
> With it not commented out, I get:
>
> ----
> $ svn import mv svn://servername/mv --username myusername
>
> Log message unchanged or not specified
> a)bort, c)ontinue, e)dit
> c
> svn: 'mv' does not exist
> ----
>
> Any suggestions? This is getting annoying. :P I'm starting the daemon
> with -d -r /usr/local/svn, btw. Thanks,
>
> -Ben
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 2 22:52:01 2004

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.