Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » WWW-Authenticate: NTLM
WWW-Authenticate: NTLM [message #1196669] Tue, 19 November 2013 14:35 Go to next message
ms ms is currently offline ms msFriend
Messages: 4
Registered: November 2013
Junior Member
I would like to clone (Project Explorer -> Import -> Projects from Git -> URI -> ...) a Git repository from a private instance of Microsofts Team Foundation Server (2013 RC). The default authentication scheme is NTLM.

EGit seems to ignore the given username and password and instead uses my Windows username "FOO\user". (I can see a seemingly successful NTML negotiation in the network stream.)

Is this a bug or wrong expectations / understanding on my part?

Re: WWW-Authenticate: NTLM [message #1216687 is a reply to message #1196669] Thu, 28 November 2013 15:36 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1212
Registered: July 2009
Senior Member
JGit doesn't yet support this, this may change with the option to use apache httpclient
Re: WWW-Authenticate: NTLM [message #1405859 is a reply to message #1216687] Fri, 08 August 2014 10:17 Go to previous messageGo to next message
Roland Tepp is currently offline Roland TeppFriend
Messages: 1
Registered: August 2014
Junior Member
I am on JGit 3.4.1 (org.eclipse.jgit-

What (else) do I need to do to be able to clone a repository from NTLM authentiocated remote repository (more specifically TFS-Git)?

The code snippet itself is simple:

It is not working for me in the sense that I do get authenticated on windows machine, but not on Mac or Linux.

I've tried to search the internets for the solution but the solution seems to escape me...

[Updated on: Tue, 12 August 2014 06:30]

Report message to a moderator

Re: WWW-Authenticate: NTLM [message #1481816 is a reply to message #1405859] Fri, 21 November 2014 08:42 Go to previous message
Petr Dousa is currently offline Petr DousaFriend
Messages: 1
Registered: November 2014
Junior Member

try using the version "". It works for me.

I have installed TFS 2013 Update 3 and both of the latest git versions 3.5.2 and 3.6 works fine with the Git repository.

Note: one of the dependencies is httpclient which, I suppose, handles the credentials.

Previous Topic:Secure Reference (CMAC instead of HMAC)?
Next Topic:TeamProjectSet Export
Goto Forum:

Current Time: Sat Aug 20 00:35:25 GMT 2022

Powered by FUDForum. Page generated in 0.05657 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top