[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SASL and svnserve not working as expected

From: Matt Milliss <matt.milliss_at_gmail.com>
Date: Thu, 12 Nov 2009 11:17:21 +1100

I've been trying to get SASL working with svnserve without much success.
My svnserve.conf files looks like this;
[general]
anon-access = read
auth-access = write
realm = eng
[sasl]
use-sasl = true

and I created an svn.conf file at /etc/sasl2 with the following contents
pwcheck_method: auxprop
auxprop_plugin: sasldb
sasldb_path: /etc/my_sasldb
mech_list: DIGEST-MD5

then created a user with this command
saslpasswd2 -c -f /etc/my_sasldb -u eng matthew

now when I try to checkout the following happens
[matthew_at_lightning checkout]$ svn co svn://svn/eng/trunk/QA
Authentication realm: <svn://svn:3690> eng
Password for 'matthew':
Authentication realm: <svn://svn:3690> eng
Username: matthew
Password for 'matthew':
Authentication realm: <svn://svn:3690> eng
Username: natthew
Password for 'natthew':
svn: Authentication error from server: SASL(-13): user not found: no
secret in database

The first thing I've noticed is that I've lost anonymous checkout even
though I've set anon-access to read in svnserve.conf and even when I
enter my username and password I still can't checkout from the repo.

Cheers
Matt

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2416832

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-12 01:18:33 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.