开发者

is it possible to use one Svn passwd file for multiple repositories to authenticate users of svn service?

开发者 https://www.devze.com 2022-12-11 22:27 出处:网络
well I have several repositories and i want several users to access them using svnserve.exe service. the problem is that i want to write the user names and passwords only in 1 location.

well I have several repositories and i want several users to access them using svnserve.exe service.

the problem is that i want to write the user names and passwords only in 1 location.

the Repositories are in the D:\SVN\ path

so lets name them

D:\Svn\Rep1\

D:\Svn\Rep2\ ...

well I tried to modify the svnserve.conf file in each of them to point to a single file like D:\Svn\conf.global\passwd using

password-db=D:\Svn\conf.global\passwd

but it didn't work :(

any ideas? or I need to do it the stupid way and duplicate the passwd开发者_如何转开发 file in each repository?


You have to use this syntax instead:

password-db = //./D:/Svn/conf.global/passwd

That's the Uniform Naming Convention on Windows to access the local machine (the dot . which could be replaced by a machine name) at its root disk D:, followed by the path - with slashes here. A little tricky at first glance but does the job.

0

精彩评论

暂无评论...
验证码 换一张
取 消