svnserve on W2K3
From: Laker Netman <laker_netman_at_yahoo.com>
Date: Thu, 20 Mar 2008 08:15:24 -0700 (PDT)
Can anyone recommend a complete guide for setting up svnserve (Subversion 1.4.6) on Windows Server 2003 (SP2)? In particular, I am having a heck of a time getting the security in svnserve.conf and authz structured correctly. I have googled this a lot and read several semi-detailed posts, but I can't find one that definitively says authorization works as it should in Windows-land. FWIW, I'm stuck with IIS and no DAV, so svnserve is my only choice (yes?).
I am running svnserve as a service with my repository root (-r) at D:\SVN. I follow the "repository per project structure" as described in Chapter 5 of the Subversion book. So my directory structure is thus:
I did an "svn create..." to make each "projX" folder. So, within each folder there is a separate \conf, \dav, \db, etc.
I have read Chapter 6's section on Path-Based Authorization several times and can deny access to the repository setting anon_access=none in svnserve.conf on a per directory basis. But anything a I put in authz seems to result in an "authorization failed" error whether I'm trying to access the repo via TortoiseSVN or command line "svn" using the svn:// protocol.
So, I think I'm correct that svnserve will honor the svnserve.conf and authz under each project folder. Right? But what should the syntax for the authz entries look like? And how should the svnserve.conf be written so I'm sure authz is being parsed? I guess what I am trying to figure out is what is svnserve trying to match the authz entries against during the authorization process between a Windows client (TortoiseSVN) and a Windows server running svnserve?
Lastly, is passwd-db required for any of this to work? If I can avoid it that would be great. If not, are those passwords completely independent of OS-related authentication?
Thanks in advance,
This is an archived mail posted to the Subversion Users mailing list.