[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: Ben Wilhelm <zorbathut_at_uswest.net>
Date: 2004-03-02 23:38:21 CET

I've tried that - it doesn't change anything :) If I have a password-db, it
gives me the "does not exist" error, *not* a "you do not have permissions"
error. That's what's confusing me - something about adding the password-db
line makes it no longer realize the repository exists in the first place.

Everything else appears to work fine, but if there's a password file, it
can't find the repository anymore.

-Ben

----- Original Message -----
From: "Erik Huelsmann" <e.huelsmann@gmx.net>
To: "Zorba the Hutt" <zorbathut@uswest.net>
Cc: <users@subversion.tigris.org>
Sent: Tuesday, March 02, 2004 4:52 PM
Subject: Re: password-db failure?

> 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 2 23:37:27 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.