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

Re: SASL for ra_svn on Windows

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-05-26 15:39:53 CEST

D.J. Heap wrote:
> On 5/26/07, Stefan Küng <tortoisesvn@gmail.com> wrote:
> [snip]
>> Also remember that such situations are called "dll hell" - It'which
>> means they usually don't happen on the devs computer. Otherwise the s
>> hell because you get problems which are hard to diagnose, often don't
>> happen immediately but after some time (after users install other tools
>> and don't have any problems until they run your app again) and of course
>> don't happen on all machines but "just a few". But if you have enough
>> users, those "few" can ruin many days and weekends.
>
>
> I agree that the one-shared-installation could be a problem. In
> theory, it should be fine, but in practice (at least on Windows which
> is victim to lots of crap installers) it almost never is. And that
> doesn't include any potential crt issues.
>
> I've only looked at the sasl code a bit, but it didn't look like it
> would be too hard to patch it to probe relative paths before looking
> for the 'default' install or something like that.
>
> Would that work for TSVN or do you have another suggestion?

I've already patched the function _sasl_get_default_win_path() to not
use the registry or the fixed path but use GetModuleFileName() to find
out where the calling app is installed and use that path instead.

But while this works with the tool "pluginviewer" which comes with the
cyrus sasl lib, I can't get the testsuite.exe to work.

> I think sasl is going to be a great feature and want to help make sure
> it works well if I can.

How about setting up a test svnserve with sasl enabled so client devs
can test against it? Maybe even multiple setups with different auth
types. That would help a lot.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 26 15:40:14 2007

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.