svnserve和SASL问题 [英] svnserve and SASL problem
问题描述
我已经在系统中配置了svn服务器,并进行了以下配置以使用SASL MD5对用户进行身份验证.我对svnserve.conf
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
它显示以下警告
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.
此外,
我在启动svn服务器时收到以下警告.我正在Ubuntu 10.04中配置服务器. svn的版本是1.6.6.
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)
推荐答案
在将用户添加到SASL中直到重新启动后,我遇到了同样的SASL错误.
I had the same SASL error after I had added the users into SASL until I rebooted.
这篇关于svnserve和SASL问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!