I've configured subversion server to work with LDAP. All works fine. But I can't access to subversion repos from Redmine.
Info:
Redmine 1.4.7.stable (Bitnami stack) MySQL 5.5.28 Ruby 1.9.3p327 Rails 2.3.15 Subversion server version 1.7.8, Cyrus SASL authentication is available. Subversion client version 1.7.5 - build-in bitnami stackSubversion server and redmine server are different computers. Build-in subversion server in bitnami stack are disabled.
configuration.yml
scm_subversion_command: /usr/bin/svn scm_mercurial_command: scm_git_command: scm_cvs_command: scm_bazaar_command: scm_darcs_command:
And when I try co access repo from command line redmine server or from redmine project I've got error:
production.log
<list path="svn://mysvnserver/myrepo"> Rendering template within layouts/base Rendering common/error (404) Completed in 134ms (View: 35, DB: 3) | 404 Not Found [https://redmineserver/redmine/projects/myproject/repository]
error.log (Apache)
svn: E210007: Unable to connect to a repository at URL 'svn://mysvnserver/myrepo' svn: E210007: Cannot negotiate authentication mechanism
/var/log/messages
unable to dopen /usr/lib/sasl2/liblogin.so :wrong ELF class: ELFCLASS32 unable to dopen /usr/lib/sasl2/libsasldb.so :wrong ELF class: ELFCLASS32 unable to dopen /usr/lib/sasl2/libplain.so :wrong ELF class: ELFCLASS32 No worthy mechs found
So both svn CLI and redmine can't connect to Subversion server with SASL/LDAP because they use 32bit SASL library.
SOLUTION
As I found Bitnami Redmine stack has own SASL library located in /opt/redmine/common/lib and this library tries to load 32bit SASL auth libraries. I removed files /opt/redmine/common/lib/libsasl* and all works fine.
P.S. WMD-editor makes me cry :'(