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

svnserve and SASL problems

From: Shareef Jalloq <Shareef.Jalloq_at_lightblueoptics.com>
Date: Tue, 30 Jun 2009 14:29:59 +0100

Hi there,

 

I'm in the process of setting up a new Ubuntu 9.04 server and am trying
to configure SVN. I've been following the guide here:
http://svnbook.red-bean.com/en/1.5/svn.serverconfig.svnserve.html

 

I've pretty much followed the guide exactly and have checked that I can
read the username:password in my sasldb. The realms are the same too.

 

svnserve.conf:

            [general]

            realm = svn_realm

            [sasl]

            use-sasl = true

            min-encryption = 128

            max-encryption = 256

 

/etc/sasl2/svn.conf:

            pwcheck_method: auxprop

auxprop_plugin: sasldb

sasldb_path: /etc/svn_sasldb

mech_list: DIGEST-MD5

 

And this is my single user in my sasldb:

ubuntu-server:/etc/sasl2> sasldblistusers2 -f /etc/svn_sasldb

sjalloq_at_svn_realm: userPassword

 

However, when I try to connect using Tortoise (version 1.5.4 and now
1.6.3) I get the following error after being prompted for my username
and password.

Error: Authentication error from server: SASL(-13): user not found: no
secret in database

 

What else is weird is that in my auth.log I get a warning that
/etc/sasldb could not be opened:

            Jun 30 14:21:58 ubuntu-server svnserve: unable to open
Berkeley db /etc/sasldb2: Permission denied

which suggests that svnserve isn't looking in the correct place.

 

What are my next steps for debugging?

 

Thanks, Shareef.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-30 15:31:19 CEST

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.