git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* GIT, libcurl and GSS-Negotiate
@ 2014-04-24 17:17 Ivo Bellin Salarin
  2014-04-26 17:47 ` brian m. carlson
  0 siblings, 1 reply; 8+ messages in thread
From: Ivo Bellin Salarin @ 2014-04-24 17:17 UTC (permalink / raw)
  To: git

Hello,

I'm having problems while trying to authenticate against a TFS hosted
repository.

I experience the same problem in git for windows and in git for linux
(both versions are 1.9.2).

The problem is described on a [github msysgit/git
issue](https://github.com/msysgit/git/issues/171)

To shortly resume it, the problem is that:
* when the authentication method (WWW-Authenticate) is Negotiate AND
* when the server proposes a NTLMSSP_CHALLENGE in response of the
client's NTLMSSP_NEGOTIATE,
=> libcurl yields an "Authentication problem. Ignoring this.\n"
And the communication is closed.

At this point, in a normal communication, the client should send a
NTLMSSP_AUTH containing a Kerberos ticket.

Having seen the libcurl source code, I think we're passing through the
lines  from 776 to 780 of
[http.c](https://github.com/bagder/curl/blob/2e57c7e0fcfb9214b2a9dfa8b3da258ded013b8a/lib/http.c).
Some guy, on the github issue page, has suggested that this could be
related to an update of libcurl, when git was at its 1.8.2 version.

I'm not debugging libcurl, and I can't reproduce this problem @home.
So, has somebody already experienced the same problem? Is there a
solution?

Many thanks in advance,
Ivo
-- 
http://www.nilleb.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-05-17  6:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-24 17:17 GIT, libcurl and GSS-Negotiate Ivo Bellin Salarin
2014-04-26 17:47 ` brian m. carlson
2014-05-05 10:21   ` Ivo Bellin Salarin
2014-05-10 21:01     ` brian m. carlson
2014-05-12 18:01       ` Carlos Martín Nieto
2014-05-12 20:21       ` Jeff King
2014-05-16 22:34         ` brian m. carlson
2014-05-17  6:51           ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).