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

Sasl and svnserve does not work

From: <postfix_at_d-herrmann.de>
Date: Thu, 14 Jan 2010 23:59:06 +0100 (CET)

Hello list,

 i have a problem with svnserve + sasl auth. Version is 1.5.1 running on
Debian Lenny 64bit.

I Created a repo named "gdiproject" and a svnserve.conf and a
/var/lib/sasl2/svn.conf.

----------svnserve.conf------------
# [general]
# anon-access = none
# auth-access = write
# password-db = passwd
# authz-db = authz
# realm = gdiproject
#
# [sasl]
# use-sasl = true
# min-encryption = 128
# max-encryption = 256
-----------------------------------

and

------/usr/lib/sasl2/svn.conf------
# pwcheck_method: auxprop
# auxprop_plugin: sasldb
# sasldb_path: /var/svn-repos/logins/svn_gdi_sasldb
# mech_list: ANONYMOUS DIGEST-MD5
-----------------------------------

When trying to execute a simple command like "info" i cannot login, and
/var/log/auth.log gives me this error:

"server svnserve: unable to open Berkeley db /etc/sasldb2: No such file or
directory".

In svn.conf i specified another file - why is sasl trying to load this
file and not the one specified?

The sasldb file was created like this: "saslpasswd2 -c -f svn_gdi_sasldb
-u gdiproject username" and has the rights 0660, owner
subversion:subverion (The user and group of SVN)

I hope you can help me to find out the reason for this strange behaviour.
Without using sasl and the plaintext passwd of svnserve everything works
fine...

Thanks in advance

Daniel Herrmann
Received on 2010-01-14 23:59:40 CET

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