Problem with exception for ls-remotehttps://www.eclipse.org/forums/index.php/mv/msg/406974/949103/#msg_949103
I have a rather unusual problem with my proxy settings. They seem to work for installing plugins (Help -> Install new software) but when I try to access a git repository I get an authentication error.

I've reviewed my username and password again and again, but they can't be wrong because install/update does not seem to have problems. Any ideas what else I could check?

Thanks

P.S. Our corporate proxy is your usual NTLM abomination. I don't have any ".gitconfig" settings in my home (a Linux system).
]]>Alexandros Karypidis2012-10-18T17:43:36-00:00Re: Problem with exception for ls-remotehttps://www.eclipse.org/forums/index.php/mv/msg/406974/953514/#msg_953514
Matthew Webber2012-10-22T10:04:30-00:00Re: Problem with exception for ls-remotehttps://www.eclipse.org/forums/index.php/mv/msg/406974/954866/#msg_954866
I did not actually have git installed at all. In any case, I am intrigued so I just built it from source to see what happens:

Interestingly, it appears like when I try to access my bitbucket account I get prompted for the password, but as soon as I authenticate with bitbucket the next request seems to get the 407 error...
]]>Alexandros Karypidis2012-10-23T10:07:59-00:00Re: Problem with exception for ls-remotehttps://www.eclipse.org/forums/index.php/mv/msg/406974/954875/#msg_954875
I have resorted to installing ntlmaps: http://ntlmaps.sourceforge.net/

It listens on localhost:5865 and relays through the proxy that git fails to use directly.

This works like a charm.

Same user/password and proxy server that gives me the 407 when configured directly in git (but works for firefox, Eclipse install/update and everything else I've tried). The detailed config is:

PARENT_PROXY:proxy.domain.com
PARENT_PROXY_PORT:8085
NT_DOMAIN:mydomain
USER:myuser
PASSWORD:mypass
# These two options replace old FULL_NTLM option.
# NTLM authentication consists virtually of two parts: LM and NT. Windows95/98 use
# only LM part, WindowsNT/2000 can use NT and LM or just NT part.
# Almost always using just LM part will be enough. I had several reports
# about LM and NT requirement and no about just NT.
# So try to setup 1, 1 only if you have enough reasons to do so and when you understand
# what you are doing.
# 0, 0 is an illegal combination
# NOTE: if you change these options then you have to setup flag option accordingly.
LM_PART:1
NT_PART:1
# Highly experimental option. See research.txt for details.
# LM - 06820000
# NT - 05820000
# LM + NT - 07820000
NTLM_FLAGS: 07820000

The only interesting bits is that I specify a domain and use LM+NT method (which I modified since the default was LM only) that the comments seem to indicate are "experimental" (whatever that means).

P.S. The research.txt file only mentions:

NTLM_FLAGS: some_hex_digits forces APS to use custom NTLM flags during the authentication.
For now it is known very little on their effects. So this option may be of use for
better understanding of NTLM authentication method.