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

RE: subversion configuration problem

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Wed, 15 Sep 2010 09:57:07 -0400

> 2010/9/15 Kayhan Yüksel <kayhany_at_fasdat.com.tr>
> This is the svnserve configuration 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]
> password-db = passwd
> #authz-db = authz
> # realm = My First Repository

You should probably set a realm. Although this has nothing to do with connecting AFAIK.

> [sasl]
> # use-sasl = true
> # min-encryption = 0
> # max-encryption = 256
>
> This is the authz file :
> [aliases]
> # joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research
> Institute/CN=Joe Average

It looks like you are trying to use windows auth or something. I've never been able to get that to work. Also, you don't have SASL enabled... so I don't think this is goig to work. Do you have username = password set up?

I would just try to get it working with no path auth at all and allow unauthed people read access.

Once you get that working, then you can start adding auth and path auth.

> [groups]
> developers = kayhany,ismailh
> # harry_sally_and_joe = harry,sally,&joe
>
> # [/svn/repos]
> #ismailh = rw
> #kayhany = rw
>
>
> [repository:c:\svn\repos]

This is wrong... you are not supposed to specify the path the repo on the file system, this is supposed to be an svn path... startiong with / which is the root of the repo. The first name is the name of your repo if you have more than one. IF you don't have more than one you don't need the reponame.

> @developers = rw
> Try this instead:
> [/]
> * = r
> @developers = rw
>
>
> And this is the passwd file :
> ### This file is an example password file for svnserve.
> ### Its format is similar to that of svnserve.conf. As shown in the
> ### example below it contains one section labelled [users].
> ### The name and password for each user follow, one account per
> line.
>
> [users]
> # harry = harryssecret
> # sally = sallyssecret
> kayhany = xxxx
> ismailh = xxxx
>
Received on 2010-09-15 15:57:44 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.