Skip to content

Instantly share code, notes, and snippets.

@nilleb
Last active December 7, 2016 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nilleb/7baab45de966c3f0b750 to your computer and use it in GitHub Desktop.
Save nilleb/7baab45de966c3f0b750 to your computer and use it in GitHub Desktop.
git-2.3.5 windows sspi
K:\temp>set GIT_CURL_VERBOSE=1
K:\temp>rm -rf Repository
K:\temp>git clone http://:@server:8080/tfs/COLLECTION/TeamProject/_git/Repository
11:51:47.940501 git.c:348 trace: built-in: git 'clone' 'http://:@server:8080/tfs/COLLECTION/TeamProject/_git/Repository'
Clonage dans 'Repository'...
11:51:48.024602 run-command.c:351 trace: run_command: 'git-remote-http' 'origin' 'http://:@server:8080/tfs/COLLECTION/TeamProject/_git/Repository'
* Couldn't find host server in the _netrc file; using defaults
* timeout on name lookup is not supported
* Trying 10.103.46.137...
* Connected to server (10.103.46.137) port 8080 (#0)
> GET /tfs/COLLECTION/TeamProject/_git/Repository/info/refs?service=git-upload-pack HTTP/1.1
User-Agent: git/2.3.5.windows.8
Host: server:8080
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache
< HTTP/1.1 401 Unauthorized
< Content-Type: text/html
< Server: Microsoft-IIS/8.0
< X-TFS-ProcessId: dd4f5a6e-931c-4d65-b27f-983cdfacf592
< X-FRAME-OPTIONS: SAMEORIGIN
< WWW-Authenticate: Negotiate
< WWW-Authenticate: NTLM
< X-Powered-By: ASP.NET
< P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
< X-Content-Type-Options: nosniff
< Date: Tue, 14 Apr 2015 09:51:48 GMT
< Content-Length: 1293
<
* Ignoring the response-body
* Connection #0 to host server left intact
* Issue another request to this URL: 'http://:@server:8080/tfs/COLLECTION/TeamProject/_git/Repository/info/refs?service=git-upload-pack'
* Couldn't find host server in the _netrc file; using defaults
* Found bundle for host server: 0x547990
* Re-using existing connection! (#0) with host server
* Connected to server (10.103.46.137) port 8080 (#0)
* Server auth using NTLM with user ''
> GET /tfs/COLLECTION/TeamProject/_git/Repository/info/refs?service=git-upload-pack HTTP/1.1
Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
User-Agent: git/2.3.5.windows.8
Host: server:8080
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache
< HTTP/1.1 401 Unauthorized
< Content-Type: text/html; charset=us-ascii
< Server: Microsoft-HTTPAPI/2.0
< WWW-Authenticate: NTLM TlRMTVNTUAACAAAACgAKADgAAAAGgokCl3hgMed93KkAAAAAAAAAAMoAygBCAAAABgLwIwAAAA9DRUdJREFMUEhBAgAUAEMARQBHAEkARABBAEwAUABIAEEAAQAYAEMARwBEAEwAWQBPAFYATQAwADEANgAxAAQAIABjAGUAZwBpDGQDYQBsAHAAaABhAC4AbABvAGMAYQBsAAMAOgBDAEcARABMAFkATwBWAE0AMAAxADYAMQAuAGMAZQBnAGkAZABhAGwAcABoAGEALgBsAG8AYwBhAGwABQAgAGMAZQBnAGkAZABnAHIAbwB1AHAALgBsAG8AYwBhAGwABwAIAL67yp+YdtABAAAAAA==
< Date: Tue, 14 Apr 2015 09:51:48 GMT
< Content-Length: 341
<
* Ignoring the response-body
* Connection #0 to host server left intact
* Issue another request to this URL: 'http://:@server:8080/tfs/COLLECTION/TeamProject/_git/Repository/info/refs?service=git-upload-pack'
* Couldn't find host server in the _netrc file; using defaults
* Found bundle for host server: 0x547990
* Re-using existing connection! (#0) with host server
* Connected to server (10.103.46.137) port 8080 (#0)
* Server auth using NTLM with user ''
> GET /tfs/COLLECTION/TeamProject/_git/Repository/info/refs?service=git-upload-pack HTTP/1.1
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAD6APoAWAAAAAAAAABSAQAAAAAAAFIBAAALAAsAUgEAAAAAAAAAAAAABoKJAsuXh9bPhoVrHQvIujH5nFG+7Mq/a/JwllVe9df33d/5Z7gNOVBCCzMBAQAAAAAAAACSsJ+YdtABvuzKv2vycJYAAAAAAgAUAEMARQBHAEkARABBAEwAUABIAEEAAQAYAEMARwBEAEwAWQBPAFYATQAwADEANgAxAAQAIABjAGUAZwBpAGQAYQBsAHAAaABhAC4AbABvAGMAYQBsAAMAOgBDAEcARABMAFkATwBWAE0AMAAxADYAMQAuAGMAZQBnAGkAZABhAGwAcABoAGEALgBsAG8AYwBhAGwABQAgAGMAZQBnAGkAZABnAHIAbwB1AHAALgBsAG8AYwBhAGwABwAIAL67yp+YdtABAAAAAAAAAABjZ2Rkc2sxODQ2OA==
User-Agent: git/2.3.5.windows.8
Host: server:8080
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache
< HTTP/1.1 401 Unauthorized
< Content-Type: text/html
< Server: Microsoft-IIS/8.0
< X-TFS-ProcessId: dd4f5a6e-931c-4d65-b27f-983cdfacf592
< X-FRAME-OPTIONS: SAMEORIGIN
< WWW-Authenticate: Negotiate
* NTLM handshake rejected
* Authentication problem. Ignoring this.
< WWW-Authenticate: NTLM
< X-Powered-By: ASP.NET
< P3P: CP="CAO DSP COR ADMa DEV CONo TELo CUR PSA PSD TAI IVDo OUR SAMi BUS DEM NAV STA UNI COM INT PHY ONL FIN PUR LOC CNT"
< X-Content-Type-Options: nosniff
< Date: Tue, 14 Apr 2015 09:51:48 GMT
< Content-Length: 1293
<
* Connection #0 to host server left intact
fatal: Authentication failed for 'http://:@server:8080/tfs/COLLECTION/TeamProject/_git/Repository/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment