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

Re: [PATCH] Fix broken SSPI authentication

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-01-10 08:15:14 CET

Hi Karl,

please don't use that patch! It doesn't work (well, it makes
Subversion work again, but by deactivating the SSPI authentication -
which can be done much easier by using the define).

If you want to use it, please use this patch:
http://mailman.webdav.org/pipermail/neon/2006-January/002157.html

that patch is tested by TSVN users (I've counted 6 users so far which
reported that it works).

Stefan

On 09 Jan 2006 13:46:56 -0600, kfogel@collab.net <kfogel@collab.net> wrote:
> [private to you]
>
> Nice job! Let's see how quickly Joe & company integrate it...
>
> Stefan Küng <tortoisesvn@gmail.com> writes:
> > While trying to find out why TortoiseSVN/Subversion couldn't connect
> > to a repository located on a windows domain anymore if the client
> > wasn't part of the same domain, I stumbled upon a bug in neon.
> > The attached patch fixes this. One patch is against trunk, the other
> > against the 0.25.4 tag.
> >
> > I've tested the patch with the help of some TortoiseSVN users who
> > provided me with access to their repositories.
> >
> > (ccing the Subversion dev list, because they might want to include
> > that patch for their windows binaries build).
> >
> > --
> > ___
> > oo // \\ "De Chelonian Mobile"
> > (_,\/ \_/ \ TortoiseSVN
> > \ \_/_\_/> The coolest Interface to (Sub)Version Control
> > /_/ \_\ http://tortoisesvn.tigris.org
> > Index: src/ne_sspi.c
> > ===================================================================
> > --- src/ne_sspi.c (Revision 831)
> > +++ src/ne_sspi.c (Arbeitskopie)
> > @@ -487,7 +487,7 @@
> > &outBufferDesc);
> > freeBuffer(&inBufferDesc);
> > } else {
> > - if (sspiContext->continueNeeded) {
> > + if (!sspiContext->continueNeeded) {
> > NE_DEBUG(NE_DBG_HTTPAUTH, "sspi: Expected a token from server.\n");
> > return -1;
> > }
> > [[[
> > Fix endless SSPI authentication.
> > * src/ne_sspi.c:
> > Continue authenticating only if requested.
> > ]]]
> > Index: src/ne_sspi.c
> > ===================================================================
> > --- src/ne_sspi.c (Revision 831)
> > +++ src/ne_sspi.c (Arbeitskopie)
> > @@ -487,7 +487,7 @@
> > &outBufferDesc);
> > freeBuffer(&inBufferDesc);
> > } else {
> > - if (sspiContext->continueNeeded) {
> > + if (!sspiContext->continueNeeded) {
> > NE_DEBUG(NE_DBG_HTTPAUTH, "sspi: Expected a token from server.\n");
> > return -1;
> > }
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: dev-help@subversion.tigris.org
>
> --
>

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 10 08:16:19 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.