我正在尝试针对 sasl+ldap 对 subversion 用户进行身份验证。关于这个问题的其他问题似乎与早期版本的 subversion 或 sasldb 身份验证有关。
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.1 (jessie)
Release: 8.1
Codename: jessie
svnserve --version
svnserve, version 1.8.10 (r1615264)
Cyrus SASL authentication is available.
saslauthd -v
saslauthd 2.1.26
authentication mechanisms: sasldb getpwent kerberos5 pam rimap shadow ldap
Run Code Online (Sandbox Code Playgroud)
sasl+LDAP 部分似乎已正确配置:
testsaslauthd -u user -p password -r realm
0: OK "Success."
Run Code Online (Sandbox Code Playgroud)
使用错误的凭据对其进行测试会出现错误:
testsaslauthd -u wronguser -p wrongpassword -r wrongrealm
0: NO "authentication failed"
Run Code Online (Sandbox Code Playgroud)
它在 auth.log 中显示错误:
Sep …Run Code Online (Sandbox Code Playgroud)