[dwmw2@i7 ews-sync]$ curl -k -v https://autodiscover.intel.com/audiscover.xml -u $NTLM_USER:$NTLM_PASS --ntlm 
* About to connect() to autodiscover.intel.com port 443 (#0)
*   Trying 172.30.13.17...
connected
* Connected to autodiscover.intel.com (172.30.13.17) port 443 (#0)
* Initializing NSS with certpath: /etc/pki/nssdb
* warning: ignoring unsupported value (1) of ssl.verifyhost
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using SSL_RSA_WITH_RC4_128_MD5
* Server certificate:
* 	subject: CN=pgsmsx509.gar.corp.intel.com
* 	start date: Jul 12 15:19:21 2010 GMT
* 	expire date: Jul 11 15:19:21 2013 GMT
* 	common name: pgsmsx509.gar.corp.intel.com
* Server auth using NTLM with user 'dwoodhou'
> GET /autodiscover/autodiscover.xml HTTP/1.1
> Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
> User-Agent: curl/7.20.1 (x86_64-redhat-linux-gnu) libcurl/7.20.1 NSS/3.12.6.2 zlib/1.2.3 libidn/1.16 libssh2/1.2.4
> Host: autodiscover.intel.com
> Accept: */*
> 
< HTTP/1.1 401 Unauthorized
< Content-Length: 83
< Content-Type: text/html
< Server: Microsoft-IIS/6.0
< WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAwADADgAAAAGgokCiSKzTVhSztYAAAAAAAAAAKgAqAA7AAAABQLODgAAAA9HQVICAAYARwBBAFIAAQASAFAARwBTAE0AUwBYADUAMAA5AAQAJABnAGEAcgAuAGMAbwByAHAALgBpAG4AdABlAGwALgBjAG8AbQADADgAUABHAFMATQBTAFgANQAwADkALgBnAGEAcgAuAGMAbwByAHAALgBpAG4AdABlAGwALgBjAG8AbQAFABwAYwBvAHIAcAAuAGkAbgB0AGUAbAAuAGMAbwBtAAAAAAA=
< X-Powered-By: ASP.NET
< Date: Sat, 17 Jul 2010 13:45:20 GMT
< 
* Ignoring the response-body
{ [data not shown]
* Connection #0 to host autodiscover.intel.com left intact
* Issue another request to this URL: 'https://autodiscover.intel.com/autodiscover/autodiscover.xml'
* Re-using existing connection! (#0) with host autodiscover.intel.com
* Connected to autodiscover.intel.com (172.30.13.17) port 443 (#0)
* Server auth using NTLM with user 'dwoodhou'
> GET /autodiscover/autodiscover.xml HTTP/1.1
> Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAACAAIAeAAAAAAAAAAAAAAABoKJAkGiYxM5qapIAAAAAAAAAAAAAAAAAAAAAM/tc7GNpjQhahzP6FB9v0Lns8vB6SGLJ2R3b29kaG91aTc=
> User-Agent: curl/7.20.1 (x86_64-redhat-linux-gnu) libcurl/7.20.1 NSS/3.12.6.2 zlib/1.2.3 libidn/1.16 libssh2/1.2.4
> Host: autodiscover.intel.com
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Sat, 17 Jul 2010 13:45:21 GMT
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 2.0.50727
< Cache-Control: no-cache
< Pragma: no-cache
< Expires: -1
< Content-Type: text/html; charset=utf-8
< Content-Length: 343
< 
{ [data not shown]
* Connection #0 to host autodiscover.intel.com left intact

* Closing connection #0
<?xml version="1.0" encoding="utf-8"?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
  <Response>
    <Error Time="21:45:21.2262049" Id="3394549244">
      <ErrorCode>600</ErrorCode>
      <Message>Invalid Request</Message>
      <DebugData />
    </Error>
  </Response>
</Autodiscover>
