Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » WWW-Authenticate: NTLM
WWW-Authenticate: NTLM [message #1196669] Tue, 19 November 2013 14:35 Go to next message
ms ms is currently offline ms ms
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 Sohn
Messages: 580
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 message
Roland Tepp is currently offline Roland Tepp
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

Previous Topic:Latest EGit in Luna doesn't show filenames in commit dialog
Next Topic:How to identify Committed but unpushed files
Goto Forum:
  


Current Time: Mon Sep 22 18:24:52 GMT 2014

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

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