svnserve 和 SASL 问题
我已经在我的系统中配置了 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将用户添加到 SASL 后,直到重新启动为止,我遇到了相同的 SASL 错误。
I had the same SASL error after I had added the users into SASL until I rebooted.