TortoiseSVN Can't Authenticate

有些话、适合烂在心里 提交于 2019-12-05 15:15:53

Set these lines in your svnserve.conf file:

 19 anon-access = none
 20 auth-access = write
    [...]
 27 password-db = passwd
    [...]
 39 realm = Name-of-your-repository
 46 force-username-case = lower

The line numbers are approximate.

The realm should equal the name of your repository. It can be anything. The password-db is who is authorized to use the repository. By default, the line is NOPed out.

Next, you'll edit the passwd file that's in the same directory. The format is very simple:

 <userName> = <password>

There are two NOPed entries that show you how it's done.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!