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

Re: SASL on Windows

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 23 Apr 2008 11:34:09 -0400

On Wed, Apr 23, 2008 at 11:29 AM, steveking <tortoisesvn_at_gmail.com> wrote:
> Mark Phippard wrote:
> > I have been playing around with SASL on Windows to test our CollabNet
> > Subversion packaging for 1.5. It was a bit of an adventure.
> >
> > The first issue I found was that I needed an svn.conf that looked like
> this:
> >
> > pwcheck_method: auxprop
> > auxprop_plugin: sasldb
> > mech_list: ANONYMOUS CRAM-MD5
> > sasldb_path: C:\svn_repository\sasldb
> >
> > The key was that last line. Our current sasl.txt does not mention
> > that. From what I can tell, unlike on Linux, on Windows there is no
> > default path for this file.
> >
> Well, there is. But I guess that Subversion does not install the SASL dlls
> there but in the svn directory.
> And of course, as I repeatedly warned (not just for SASL but for apr-iconv
> too) this is a desaster waiting to happen. That's why I call
> sasl_set_path(SASL_PATH_TYPE_PLUGIN, path_to_install_dir);
> in TortoiseSVN to avoid having SASL use dlls which are not built and tested
> for TSVN.
> I would recommend that the svn.exe client would do the same (at least on
> Windows).

I did not have any problem loading the DLL's. We used the registry
setting for that. Granted, I understand your point. If TortoiseSVN
did the same, then there would be a problem.

The path to the database used by the SASLDB plugin is different. It
assumes a default path for this database on Linux. AFAICT, it does
not do the same on Windows so you have to set the path in the svn.conf

I was wondering if DIGEST-MD5 was not working because it is not linked
to OpenSSL? I noticed that the DLL you created was not either, but
the SVN docs, imply this plugin supports encryption, and I recall the
SASL docs saying it uses OpenSSL. So I wonder if the problem is that
we do not have this DLL built using OpenSSL?

Mark Phippard
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-23 17:34:38 CEST

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.