Hi,

Subversion-1.4.4 does not work with Kerberos authentication if compiled
with unpatched neon-0.26.2.
This patch is originally from

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413194

and was successfully tested on amd64.

Index: patches/patch-src_ne_auth_c
===================================================================
--- src/ne_auth.c.orig 2007-03-03 07:35:07.000000000 +0100
+++ src/ne_auth.c   2007-03-03 07:32:18.000000000 +0100
@@ -516,7 +516,7 @@
     char *sep, *ptr = strchr(duphdr, ' ');
     int ret;
-    if (strncmp(hdr, "Negotiate", ptr - hdr) != 0) {
+    if (strncmp(hdr, "Negotiate", ptr - duphdr) != 0) {
         NE_DEBUG(NE_DBG_HTTPAUTH, "gssapi: Not a Negotiate response!\n");
         ne_free(duphdr);

Reply via email to