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

Re: [PATCH] Automate ra_svn + Cyrus SASL testing

From: Vlad Georgescu <vgeorgescu_at_gmail.com>
Date: 2006-09-26 22:33:56 CEST

On 9/26/06, David Glasser <glasser@mit.edu> wrote:
> On 9/26/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> > I will say though that this isn't any more complex than our setup for
> > testing over ssh, or for DAV on a system where you don't have a
> > functional davautocheck.sh. Adding two arbitrary users to the sasl db
> > doesn't seem like that big a deal.
> To make it clear, I'm not objecting to the current patch -- there's
> nothing wrong with a testing setup that requires a bit of work to set
> up. But the more testing situations that work out of the box, the
> better, in my mind, and I'd be happy to help make this so if I
> understood how.
> --dave
> --
> David Glasser | glasser_at_mit.edu | http://www.davidglasser.net/


You can use a non-default password database by setting the sasldb_path
option in subversion.conf:

  sasldb_path: /path/to/your/database

You can then add users to that database by doing:

  saslpasswd2 -c -u svntest -a subversion jrandom


  saslpasswd2 -c -u svntest -f /path/to/db jrandom

As for using a non-default subversion.conf, this is slightly trickier.
AFAIK the only way you can do that is by setting the SASL_PATH
environment variable. However, sasl also loads its plugins from that
path so you'd have to copy (at least) libanonymous.so, libdigestmd5.so
and libsasldb.so from /usr/lib/sasl2 to your path.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 26 22:34:11 2006

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

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