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

Re: svnserve -- password-db variable for Windows

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-05-13 00:23:36 CEST

Brent Longborough wrote:

>I'm running svnserve as a service under WinXP.
>
>I'd like to use a common password file for all repositories, outside
>the repositories, but I seem to be having a stupid day, and I can't
>seem to get password-db right in svnserve.conf. Here are a couple of
>examples and the corresponding error messages:
>
>password-db = S:/SubVersionRoot/Common/conf/password.conf
>gives:
>svn: Can't open config file
>'S:/SubVersionRoot/Test/conf/S:/SubVersionRoot/Common/conf/password.conf'
>
>while
>
>password-db = /S:/SubVersionRoot/Common/conf/password.conf
>gives:
>svn: Can't open config file
>'/S:/SubVersionRoot/Common/conf/password.conf'
>
>I've searched the whole Book for clues, without success. I've tried
>zillions of combinations of multiple leading slashes, backslashes,
>escaping the :, quoting with ' and with ", even file://, to no avail.
>
>//brent/SubVersionRoot... works OK, but I really don't want a
>permanent network share on my repository.
>
>../../Common/conf... also works, but I'd prefer to be able to move
>the file right outside my repositories area, and a chain of parent
>directory refs isn't very robust.
>
>Anyone care to give me an idea?
>
>
Currently, svnserve assumes the password-db path is relative to the
repository config location and does not check if the path is absolute.
The only workaround I can suggest is to create a junction inside each
repository's conf directory to the place where you keep the password file.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 13 00:24:19 2004

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.