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

RE: Stupid newbie question

From: Monks, Peter <peter.monks_at_vignette.com>
Date: 2004-07-29 22:01:31 CEST

G'day John,

The user list is actually supposed to live in a separate file, and
then you point to that file from the svnserve.conf file.

eg.
In "users.conf":

    [users]
    griffinj = jgriffin

In "svnserve.conf":

    ### This file controls the configuration of the svnserve daemon, if
you
    ### use it to allow access to this repository. (If you only allow
    ### access through http: and/or file: URLs, then this file is
    ### irrelevant.)
 
    ### Visit http://subversion.tigris.org/ for more information.
 
    [general]
    ### These options control access to the repository for
unauthenticated
    ### and authenticated users. Valid values are "write", "read",
    ### and "none". The sample settings below are the defaults.
    anon-access = read
    auth-access = write
    ### This option controls the location of the password database.
This
    ### path may be relative to the conf directory. There is no
default.
    ### The format of the password database is:
    ### [users]
    ### USERNAME = PASSWORD
    ## password-db = passwd
    password-db = users.conf

    etc. etc.

Yes the comments in the svnserver.conf file are a tad confusing - I
ran into exactly the same problem the first time I installed
subversion too! ;-)

Cheers,
Peter

----------------------------------------------------------------------
Peter Monks http://www.sydneyclimbing.com/
pmonks_at_sydneyclimbing.com http://www.geocities.com/yosemite/4455/
----------------------------------------------------------------------

> -----Original Message-----
> From: John Griffin [mailto:John.Griffin@pwgsc.gc.ca]
> Sent: Thursday, 29 July 2004 12:29pm
> To: users@subversion.tigris.org
> Subject: Stupid newbie question
>
>
> Hi All,
>
> I am looking into using subversion for our version control
> system. We are replacing RCS. cvs2svn works wonderfully well
> in converting our data over. I can pull over our entire
> development tree with the greatest of ease. However, when I
> go to create a branch I get the following error:
>
> svn: Connection is read-only
>
> I can't seem to get svn to ask me to authenticate. I think it
> might be personal.
>
> Here is my svnserve.conf file:
>
> ### This file controls the configuration of the svnserve
> daemon, if you
> ### use it to allow access to this repository. (If you only allow
> ### access through http: and/or file: URLs, then this file is
> ### irrelevant.)
>
> ### Visit http://subversion.tigris.org/ for more information.
>
> [general]
> ### These options control access to the repository for unauthenticated
> ### and authenticated users. Valid values are "write", "read",
> ### and "none". The sample settings below are the defaults.
> anon-access = read
> auth-access = write
> ### This option controls the location of the password database. This
> ### path may be relative to the conf directory. There is no default.
> ### The format of the password database is:
> [users]
> griffinj = jgriffin
> ### USERNAME = PASSWORD
> ## password-db = passwd
> ### This option specifies the authentication realm of the repository.
> ### If two repositories have the same authentication realm,
> they should
> ### have the same password database, and vice versa. The
> default realm
> ### is the path to the repository, relative to the server's repository
> ### root.
> realm = textbox
>
>
> Note that the testbox is referred to by an IP address.
>
> Any ideas on how I can get svn to ask me who I am?
>
> John
>
> ---------------------------------------------------------------------
> 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 Thu Jul 29 22:01:55 2004

This is an archived mail posted to the Subversion Users mailing list.