curl-users
Access to Sharepoint 2010 with Curl
Date: Mon, 23 Jul 2012 11:08:01 +0100 (BST)
Hi all,
I have a problem accessing Sharepoint 2010 with Curl. I tried the following command line but get an error 90% of the times (10% of the time it is working ...):
curl --insecure --ntlm -u : https://.../_vti_bin/Lists.asmx?WSDL --verbose
when an error occurs, I get the following log below. Can anyone help?
> GET /sites/00133/DM/_vti_bin/Lists.asmx?WSDL HTTP/1.1
> Authorization: NTLM TlRMTVNTUAABAAAAt7II4gQABAA3AAAADwAPACgAAAAGAbEdAAAAD0NTVFJMMDAyNDE1OTUxM0VNRUE=
> User-Agent: curl/7.26.0
> Host: team.sp.wp.corpintra.net
> Accept: */*
>
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0< HTTP/1.1 401 Unauthorized
< Server: Microsoft-IIS/7.5
< SPRequestGuid: ee30caf9-f48a-4030-8e02-86346e415633
< WWW-Authenticate: NTLM TlRMTVNTUAACAAAABAAEADgAAAA1gonixv3mfbVh9bsAAAAAAAAAAL4AvgA8AAAABgGxHQAAAA9XAFAAAgAEAFcAUAABABoARABFADMANQBTADAAMAA0AFMASABQADAAMQAEACAAdwBwAC4AYwBvAHIAcABpAG4AdAByAGEALgBuAGUAdAADADwARABFADMANQBTADAAMAA0AFMASABQADAAMQAuAHcAcAAuAGMAbwByAHAAaQBuAHQAcgBhAC4AbgBlAHQABQAgAHcAcAAuAGMAbwByAHAAaQBuAHQAcgBhAC4AbgBlAHQABwAIACCCWm26aM0BAAAAAA==
< WWW-Authenticate: Negotiate
< X-Powered-By: ASP.NET
< MicrosoftSharePointTeamServices: 14.0.0.6109
< Date: Mon, 23 Jul 2012 10:03:37 GMT
< Content-Length: 0
< Set-Cookie: SharePoint_EMEA=rd10o00000000000000000000ffff35030401o443; path=/
<
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host team.sp.wp.corpintra.net left intact
* Issue another request to this URL: 'https://team.sp.wp.corpintra.net/sites/00133/DM/_vti_bin/Lists.asmx?WSDL'
* Re-using existing connection! (#0) with host (nil)
* Connected to (nil) (53.3.20.65) port 443 (#0)
* Server auth using NTLM with user ''
> GET /sites/00133/DM/_vti_bin/Lists.asmx?WSDL HTTP/1.1
> Authorization: NTLM TlRMTVNTUAADAAAAGAAYAIwAAAAYABgApAAAAAgACABYAAAADgAOAGAAAAAeAB4AbgAAABAAEAC8AAAANYKI4gYBsR0AAAAPYCbEOobYNvHE8C8r27J36EUATQBFAEEAcwBlAHcAZQBiAGUAcgBDAFMAVABSAEwAMAAwADIANAAxADUAOQA1ADEAMwCWLKTGNj6UJwAAAAAAAAAAAAAAAAAAAAAq+3Qm3+uFdgMo+qoYE9NeGi9ZOQuH0ZjRQeNkOQFbsMoxDdY1qdXO
> User-Agent: curl/7.26.0
> Host: team.sp.wp.corpintra.net
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< Server: Microsoft-IIS/7.5
< SPRequestGuid: 6f269575-3370-4987-a8d4-02750003ec3f
< WWW-Authenticate: Negotiate
* NTLM handshake failure (internal error)
* Authentication problem. Ignoring this.
< WWW-Authenticate: NTLM
< X-Powered-By: ASP.NET
< MicrosoftSharePointTeamServices: 14.0.0.6109
< Date: Mon, 23 Jul 2012 10:03:36 GMT
< Content-Length: 0
< Set-Cookie: SharePoint_EMEA=rd10o00000000000000000000ffff35030404o443; path=/
<
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host (nil) left intact
* Closing connection #0
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-23