-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl sspi ntlm #555
Comments
This is not correct; Starting Git Bash from the Start Menu results in this me@work MINGW64 ~
$ echo $PATH
/c/Users/me/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:[...] As you can clearly see, But maybe you started Git Bash differently and wanted to describe what you tried, precisely? |
PATH problem aside it doesn't make sense to ship two curl binaries. |
@ismail patches welcome. |
You are rigth. Starting with git-bash.exe puts /migw64 first. My fault. I was starting this using cmder which packages git-for-windows inside, and puts /usr/bin path first. My fault. Just out of curiosity, what is the reason of shipping two binaries? Is it an error or is needed for something? |
(For background regarding MSys2 vs MinGW, the short version is that for some functionality, we rely on the POSIX emulation layer provided by MSys2, a slimmed down Cygwin. Whenever we can get away without using POSIX functionality, we try to rely on MinGW instead, which targets the Win32 API directly.) The The These packages both include also the executables Feel free to patch our exclusion filter, make sure to test that your patch works by making and running an installer and then open a Pull Request. If I did not have a couple of really pressing other things to do, I would make that change myself, but as it is, I have to rely on your participation. |
There are two curl binaries in git-for-windows located into:
But compiled with different features. The one in usr/bin misses the SSPI feature, which means that can not use proxy NTLM auth using the windows login credentials.
Details:
Git works OK with NTLM+SSPI auth. But Git Bash puts first in the path the usr/bin version,
The text was updated successfully, but these errors were encountered: