cURL / Mailing Lists / curl-users / Single Mail


Re: Using Curl against SharePoint 2010, authentication fails, NTLM vs. GSS?

From: Ralph Mitchell <>
Date: Fri, 1 Apr 2011 18:29:23 -0400

On Fri, Apr 1, 2011 at 3:26 PM, Derek Atkins <> wrote:

> Hi,
> I'm trying to use curl (curl-7.19.7-13.fc12.x86_64) to contact a
> SharePoint 2010 server, but authentication is failing no matter whether
> I tell curl to use NTLM or anyauth. The command I'd like to use:
> curl --trace-ascii /tmp/sharepoint.ascii --ntlm -D /tmp/sharepoint \
> -u administrator --retry 1 -L
> Curl's build state:
> curl -V
> curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/ libidn/1.9 libssh2/1.2.4
> Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
> Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

Curl is up to version 7.21.4 now. Is there any way you could try a more
recent version? Maybe Fedora 14 in a VM or booted off a usbstick?? I have
it on my laptop, and it shows the curl version as:

     curl 7.21.0 (x86_64-redhat-linux-gnu) libcurl/7.21.0
NSS/ libidn/1.18 libssh2/1.2.4
     Protocols: dict file ftp ftps http https imap imaps ldap ldaps pop3
pop3s rtsp scp sftp smtp smtps telnet tftp
     Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

If if's a bug, it has probably been fixed already...

Ralph Mitchell

List admin:
Received on 2011-04-02