subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Raymond" <>
Subject Problems configuring svnserve on Windows using SASL
Date Sat, 20 Oct 2012 20:48:11 GMT

I've set up svnserve on Windows before using the inbuilt CRAM-MD5
authentication, using my own compile of SVN. I'm now trying to set up
svnserve to use SASL and DIGEST-MD5, but I'm having difficulties getting it

My setup is:

- I'm on Windows 7 Professional x64
- I'm using the TortoiseSVN 1.7.10 binaries, so svnserve.exe and all the
sasl dlls are in C:\Program Files\TortoiseSVN\bin
- The repository is C:\repo, created manually using svnadmin create
- My svnserve.conf with comments removed is:

anon-access = none
auth-access = write
realm = madanra

use-sasl = true

- [HKLM\SOFTWARE\Carnegie Mellon\Project Cyrus\SASL Library] has ConfFile
set to C:\sasl and SearchPath set to C:\Program Files\TortoiseSVN\bin
- C:\sasl\svn.conf reads:

pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: DIGEST-MD5
sasldb_path: C:\sasl\sasldb

- C:\sasl\sasldb was created on an Ubuntu system using:
saslpasswd2 -c -f ~/sasldb -u madanra mark
when ~/sasldb did not exist before running the command, and then ~/sasldb
was copied across to the Windows system (as I didn't have access to a
Windows binary of saslpasswd2)

- svnserve was then started using
svnserve -d -r C:\repo --log-file C:\temp\svn.log

As far as I can tell, this is an absolutely vanilla setup of svnserve with
SASL using DIGEST-MD5, as per the instructions in the SVN book on the Apache
website. However, when I try and check out the repository using "svn co
svn://localhost", I get this error message:

svn: E170001: Unable to connect to a repository at URL 'svn://localhost'
svn: E170001: Authentication error from server: SASL(-4): no mechanism
available: Unable to find a callback: 2

after entering the username and password I created when creating sasldb.

Any ideas what could be going wrong? Nothing appears in C:\temp\svn.log.
I've confirmed using svnserve --version that SASL is available, and
C:\Program Files\TortoiseSVN\bin\saslDIGESTMD5.dll exists


View raw message