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

RE: Svnserve completely ignores settings in svnserve.conf

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Mon, 15 Feb 2010 16:19:07 -0500

> Hello,
>
> I'm a little bit lost.
> I set up a SVN-Server on Windows Web Server 2008 with CollabNet Svnserve
> 1.6.9.
> Subversion Server is: Apache/2.2.14 (Win32) DAV/2 SVN/1.6.9
>
> I can access the repository via http://ip.ip.ip.ip:8080/svn/test
> But without authentication.
>
> The local path for my SVN-Repositories is: C:\svn_repository\test
> In C:\svn_repository\test\conf\svnserve.conf I configured the following:
>

that config is for when you are using svnserve (the svn://) protocol. Since you are using http you need to configure Apache (httpd.conf)with this info.

http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html

BOb




> [general]
> anon-access = none
> auth-access = write
> password-db = passwd
> authz-db = authz
> realm = Subversion
>
> C:\svn_repository\test\conf\passwd contains the following:
>
> [users]
> # harry = harryssecret
> # sally = sallyssecret
> user = test
> user2 = test2
>
> And C:\svn_repository\test\conf\authz is configured to give the group
> "test" read/write access on the repository test:
>
> [aliases]
> # joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research
> Institute/CN=Joe Average
>
> [groups]
> # harry_and_sally = harry,sally
> # harry_sally_and_joe = harry,sally,&joe
> @test = user, user2
>
> # [/foo/bar]
> # harry = rw
> # &joe = r
> # * =
>
> [C:\svn_repository\test]
> @test = rw
> * =
>
> [C:/svn_repository/test]
> @test = rw
> * =
>
> # [repository:/baz/fuz]
> # @harry_and_sally = rw
> # * = r
>
> [test:/]
> @test = rw
> * =
>
> From what I have read this should work. But it doesn't.
> I still have anonymous access. If I browse to the URL I get "test -
> Revision 0: /" with no authentication.
> - Tested with Firefox/Internet Explorer from my workstation and elinks
> from a remote Linux box.
>
> I mean: Even if some paths are wrong (Linux-Software on Windows...) Apache
> SHOULD ask for a password.
> But nothing. Apache Error or Access Log shows nothing. Even so the
> EventLog.
> The files are fully readable by the SYSTEM-User and Apache and CollabNet
> SVNServer are runing as local Service.
>
> Anybody has a Idea?
>
> Thanks for reading,
> Christian
> --
> For private mail please use my GPG-Key.
> ID: 0xB7849C76
Received on 2010-02-15 22:19:08 CET

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.