You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Durden, Paul" <Pa...@avocent.com> on 2006/03/31 14:51:25 UTC

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

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