svnserve 和 SASL 问题

发布于 2024-09-15 12:32:15 字数 1287 浏览 3 评论 0原文

我已经在我的系统中配置了 svn 服务器,并进行了以下配置以使用 SASL MD5 对用户进行身份验证。我在 svnserve.conf 中进行了以下更改,

 [general]
 anon-access = none
 auth-access = write
 password-db = passwd
 authz-db = authz
 realm = my_first_repository
 [SASL]
 use-sasl = true 
 min-encryption = 0
 max-encryption = 256 


 /usr/local/lib/sasl2/subversion.conf
 pwcheck_method: auxprop 
 auxprop_plugin: sasldb 
 sasldb_path: /etc/my_sasldb
 mech_list: DIGEST-MD5

我通过以下命令添加用户,

 saslpasswd2 -c -f /etc/my_sasldb -u my_first_repository username

它要求输入密码并检查密码的正确性。但是,一旦我使用以下命令输入用户名和密码,

 svn list svn://localhost/path/to/repository/ --username

它就会显示以下警告,

svn: Authentication error from server: SASL(-13): user not found: no secret in database

这可能是什么原因?任何建议都将受到高度赞赏。

此外,

我在启动 svn 服务器时收到以下警告。我正在 ubuntu 10.04 中配置服务器。 svn的版本是1.6.6。

 svnserve: /usr/local/lib/libsasl2.so.2: no version information available (required by svnserve)
 svnserve: /usr/local/lib/libsasl2.so.2: no version information available (required by /usr/lib/libsvn_ra_svn-1.so.1)
 svnserve: /usr/local/lib/libsasl2.so.2: no version information available (required by /usr/lib/libldap_r-2.4.so.2)

I have configured svn server in my system and have made following configuration for authenticating users with SASL MD5. I have made following changes in the svnserve.conf

 [general]
 anon-access = none
 auth-access = write
 password-db = passwd
 authz-db = authz
 realm = my_first_repository
 [SASL]
 use-sasl = true 
 min-encryption = 0
 max-encryption = 256 


 /usr/local/lib/sasl2/subversion.conf
 pwcheck_method: auxprop 
 auxprop_plugin: sasldb 
 sasldb_path: /etc/my_sasldb
 mech_list: DIGEST-MD5

i am adding the user by the following command

 saslpasswd2 -c -f /etc/my_sasldb -u my_first_repository username

it asks for the password and it checks for the correctness of password. But once i enter the username and password using the following command

 svn list svn://localhost/path/to/repository/ --username

it shows following warning

svn: Authentication error from server: SASL(-13): user not found: no secret in database

what can be the reason for it? Any suggestion will be highly appreciated.

moreover,

i am getting following warning while starting the svn server. i am configuring server in ubuntu 10.04. And the version of svn is 1.6.6.

 svnserve: /usr/local/lib/libsasl2.so.2: no version information available (required by svnserve)
 svnserve: /usr/local/lib/libsasl2.so.2: no version information available (required by /usr/lib/libsvn_ra_svn-1.so.1)
 svnserve: /usr/local/lib/libsasl2.so.2: no version information available (required by /usr/lib/libldap_r-2.4.so.2)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一抹苦笑 2024-09-22 12:32:15

将用户添加到 SASL 后,直到重新启动为止,我遇到了相同的 SASL 错误。

I had the same SASL error after I had added the users into SASL until I rebooted.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文