cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

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

On Fri, Apr 1, 2011 at 3:26 PM, Derek Atkins <warlord_at_mit.edu> 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 http://172.16.64.20/
>
> Curl's build state:
>
> curl -V
> curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.12.6.2zlib/1.2.3 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/3.12.8.0zlib/1.2.5 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: 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 2011-04-02