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

SVNSERVE bug: password-db and authz-db must be relative ?

From: Durden, Paul <Paul.Durden_at_avocent.com>
Date: 2006-03-31 16:51:25 CEST

Hi,
I think a found a minor bug with svnserve.
We just recently started using the SVN protocol in addition to HTTP.
I was modifying the svnserve.conf file in our repositories, and was only
able to set the password-db and authz-db files using relative paths.

Version Info:
  Windows Server 2003 Standard Edition
  Subversion 1.3.0
 
Directory structure:
  D:\SVN-Data\repo1 ## All repositories are under D:\SVN-Data
  D:\SVN-Data\repo2
  D:\SVN-Auth\svn_passwd ## All authentication / authorization in
D:\SVN-Auth
  D:\SVN-Auth\svn_access

If I used
  passwd-db = /SVN-Auth/svn_passwd
  authz-db = /SVN-Auth/svn_access
When I tried to authenticate with a client, I would receive the error
  "svn: Can't find config file '\SVN-Auth\svn_passwd'"

If I used
  passwd-db = D:/SVN-Auth/svn_passwd
  authz-db = D:/SVN-Auth/svn_access
When I tried to authenticate with a client, I would receive the error
  "svn: Can't open config file
'D:\SVN-Data\svn-install\conf\D:\SVN-Auth\svn_passwd'"

I tried other things, but always with some sort of error indicating the
config file could not be found.

The only thing I found that worked was the following
  password-db = ../../../SVN-Auth/svn_passwd
  authz-db = ../../../SVN-Auth/svn_access

This seems like a bug to me, but I couldn't find one in the issue
tracker.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 31 16:52:51 2006

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.