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?

Thanks.
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: 1268
Registered: July 2009
Senior Member
JGit doesn't yet support this, this may change with the option to use apache httpclient
see https://git.eclipse.org/r/#/c/15124/
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-3.4.1.201406201815-r.jar)

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:
    Git.cloneRepository()
       .setURI(getRepository())
       .setDirectory(getDirectoryFile())
       .call();


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
Hi,

try using the version "3.5.2.201411120430-r". 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.

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


Current Time: Thu Mar 28 08:34:53 GMT 2024

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

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

Back to the top