gpt4 book ai didi

linux - svn 不想询问密码

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:07:22 29 4
gpt4 key购买 nike

我的配置:

root@/var/svn/skryb/conf# cat /etc/init.d/svnserve
[general]
anon-access = none
auth-access=read
auth-access=write
password-db = passwd
[sasl]

重新启动 svnserve 以确保其正常工作:

# killall svnserve
# /etc/init.d/svnserve
# ps fax | grep svnserve
1233 pts/2 S+ 0:00 \_ grep svnserve
1231 ? Ss 0:00 svnserve -d -r /var/svn/skryb/

从 windows pc 上 check out 内容:

C:\Temp\some>del *.*
C:\Temp\some\*.*, Продолжить [Y(да)/N(нет)]? y

C:\Temp\some>svn co svn://192.168.1.36
A utils
A utils\utils.ipr
A utils\getContents
svn: E200015: Caught signal -- I hit ctr-break here

有什么想法吗?

最佳答案

我不确定为什么它不提示,但这里有一些提示,可能缺少什么。

  • 阅读SVN红皮书时:Create a users file and realm , 缺少条目 realm = <your name> .
  • 您没有提及您的 password-db 的内容文件。你有没有创建它,它有没有结构:

    [users]
    <name> = <password>
  • 你应该删除一条规则 auth-access ,我认为带有 read 的那个, 这两个规则都没有意义。
  • 我没有使用 SASL 的经验,但是部分:Authentication with SASL至少提及以下内容:

    [sasl]
    use-sasl = true
  • 您是否检查过您的密码未被缓存?应该有一个本地缓存(在 Windows 中通常位于 %APPDATA%/Subversion/auth/ 下),当您尝试查看密码时,它必须为空。

尝试提示后,请评论结果,以便我进一步完善答案。我希望他们能帮助...

关于linux - svn 不想询问密码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11483073/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com